26 lines
444 B
JavaScript
26 lines
444 B
JavaScript
// eslint.config.js
|
|
import globals from 'globals';
|
|
import js from '@eslint/js';
|
|
|
|
export default [
|
|
js.configs.recommended,
|
|
{
|
|
languageOptions: {
|
|
globals: {
|
|
...globals.browser,
|
|
process: false,
|
|
},
|
|
parserOptions: {
|
|
ecmaFeatures: {
|
|
impliedStrict: true,
|
|
jsx: true
|
|
},
|
|
},
|
|
},
|
|
rules: {
|
|
// 'no-unused-vars': 'warn',
|
|
// 'no-undef': 'warn',
|
|
}
|
|
}
|
|
];
|