28 lines
442 B
JavaScript
28 lines
442 B
JavaScript
|
module.exports = {
|
||
|
env: {
|
||
|
browser: true,
|
||
|
es2021: true,
|
||
|
},
|
||
|
extends: [
|
||
|
"eslint:recommended",
|
||
|
"standard-with-typescript",
|
||
|
"eslint-config-prettier",
|
||
|
],
|
||
|
overrides: [
|
||
|
{
|
||
|
env: {
|
||
|
node: true,
|
||
|
},
|
||
|
files: [".eslintrc.{js,cjs}"],
|
||
|
parserOptions: {
|
||
|
sourceType: "script",
|
||
|
},
|
||
|
},
|
||
|
],
|
||
|
parserOptions: {
|
||
|
ecmaVersion: "latest",
|
||
|
sourceType: "module",
|
||
|
},
|
||
|
rules: {},
|
||
|
}
|