Melody/.eslintrc.json
2023-03-05 10:20:37 +00:00

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"
}
}