36 lines
656 B
JSON
36 lines
656 B
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"commonjs": true,
|
|
"es2021": true,
|
|
"node": true
|
|
},
|
|
"extends": "eslint:recommended",
|
|
"parser": "./node_modules/babel-eslint",
|
|
"parserOptions": {
|
|
"ecmaVersion": 12
|
|
},
|
|
"rules": {
|
|
"indent": [
|
|
"error",
|
|
4
|
|
],
|
|
"linebreak-style": [
|
|
"error",
|
|
"windows"
|
|
],
|
|
"quotes": [
|
|
"error",
|
|
"double"
|
|
],
|
|
"semi": [
|
|
"error",
|
|
"always"
|
|
],
|
|
"no-unused-vars": [
|
|
"error",
|
|
"after-used"
|
|
]
|
|
}
|
|
}
|