2020-10-28 10:51:26 +00:00
|
|
|
{
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"commonjs": true,
|
|
|
|
"es2021": true,
|
2020-10-31 15:00:26 +00:00
|
|
|
"node": true,
|
|
|
|
"mocha": true
|
2020-10-28 10:51:26 +00:00
|
|
|
},
|
|
|
|
"extends": "eslint:recommended",
|
2020-10-29 21:10:20 +00:00
|
|
|
"parser": "babel-eslint",
|
2020-10-28 10:51:26 +00:00
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 12
|
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"indent": [
|
|
|
|
"error",
|
|
|
|
4
|
|
|
|
],
|
|
|
|
"linebreak-style": [
|
|
|
|
"error",
|
|
|
|
"windows"
|
|
|
|
],
|
|
|
|
"quotes": [
|
|
|
|
"error",
|
|
|
|
"double"
|
|
|
|
],
|
|
|
|
"semi": [
|
|
|
|
"error",
|
|
|
|
"always"
|
|
|
|
],
|
|
|
|
"no-unused-vars": [
|
|
|
|
"error",
|
2020-10-29 21:10:20 +00:00
|
|
|
{
|
|
|
|
"args": "after-used"
|
|
|
|
}
|
2020-10-28 10:51:26 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|