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