init
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import js from '@eslint/js';
|
||||
import globals from 'globals';
|
||||
export default [
|
||||
{ ignores: ['node_modules/**'] },
|
||||
js.configs.recommended,
|
||||
{
|
||||
files: ['src/**/*.js'],
|
||||
languageOptions: { globals: { ...globals.browser, bootstrap: 'readonly' } },
|
||||
},
|
||||
{
|
||||
files: ['test/**/*.js'],
|
||||
languageOptions: { globals: { ...globals.node, ...globals.browser } },
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user