29 lines
676 B
JSON
29 lines
676 B
JSON
{
|
|
"parserOptions": {
|
|
"ecmaVersion": "latest"
|
|
},
|
|
"env": {
|
|
"node": true,
|
|
"es6": true
|
|
},
|
|
"extends": ["eslint:recommended"],
|
|
"rules": {
|
|
"semi": "error",
|
|
"quotes": ["warn", "double"],
|
|
"no-dupe-args": "error",
|
|
"no-dupe-else-if": "error",
|
|
"no-use-before-define": [
|
|
"error",
|
|
{
|
|
"functions": false,
|
|
"classes": true,
|
|
"variables": true,
|
|
"allowNamedExports": false
|
|
}
|
|
],
|
|
"no-unreachable-loop": "error",
|
|
"no-unreachable": "error",
|
|
"no-duplicate-imports": "error"
|
|
}
|
|
}
|