wiki-plugin-farmmanager/eslint.config.js
Christian Galo be9f5bc20c
Some checks failed
CI / build (20.x) (push) Has been cancelled
CI / build (22.x) (push) Has been cancelled
from template npm create wiki-plugin@latest FarmManager
2025-06-08 15:47:58 -05:00

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,
},
},
},
]