24 lines
426 B
JavaScript
24 lines
426 B
JavaScript
import globals from 'globals'
|
|
import pluginJs from '@eslint/js'
|
|
|
|
/** @type {import('eslint').Linter.Config[]} */
|
|
export default [
|
|
pluginJs.configs.recommended,
|
|
{
|
|
rules: {
|
|
'no-unused-vars': 'warn',
|
|
},
|
|
},
|
|
{ ignores: ['client/*'] },
|
|
{
|
|
languageOptions: {
|
|
globals: {
|
|
wiki: 'readonly',
|
|
...globals.browser,
|
|
...globals.jquery,
|
|
...globals.mocha,
|
|
},
|
|
},
|
|
},
|
|
]
|