24 lines
383 B
JavaScript
24 lines
383 B
JavaScript
|
module.exports = {
|
||
|
env: {
|
||
|
browser: true,
|
||
|
commonjs: true,
|
||
|
es2021: true,
|
||
|
},
|
||
|
extends: "eslint:recommended",
|
||
|
overrides: [
|
||
|
{
|
||
|
env: {
|
||
|
node: true,
|
||
|
},
|
||
|
files: [".eslintrc.{js,cjs}"],
|
||
|
parserOptions: {
|
||
|
sourceType: "script",
|
||
|
},
|
||
|
},
|
||
|
],
|
||
|
parserOptions: {
|
||
|
ecmaVersion: "latest",
|
||
|
},
|
||
|
rules: { "no-undef": "off" },
|
||
|
};
|