mirror of
https://github.com/Wolvan/poll.horse.git
synced 2024-11-22 13:07:58 +01:00
45 lines
1.1 KiB
JSON
45 lines
1.1 KiB
JSON
|
{
|
||
|
"env": {
|
||
|
"browser": false,
|
||
|
"commonjs": false,
|
||
|
"es6": true,
|
||
|
"node": true
|
||
|
},
|
||
|
"root": true,
|
||
|
"parser": "@typescript-eslint/parser",
|
||
|
"plugins": [
|
||
|
"@typescript-eslint",
|
||
|
"mocha",
|
||
|
"chai-expect"
|
||
|
],
|
||
|
"extends": [
|
||
|
"eslint:recommended",
|
||
|
"plugin:@typescript-eslint/eslint-recommended",
|
||
|
"plugin:@typescript-eslint/recommended",
|
||
|
"plugin:mocha/recommended",
|
||
|
"plugin:chai-expect/recommended"
|
||
|
],
|
||
|
"parserOptions": {
|
||
|
"ecmaFeatures": {
|
||
|
"impliedStrict": true
|
||
|
},
|
||
|
"sourceType": "module"
|
||
|
},
|
||
|
"rules": {
|
||
|
"no-const-assign": "warn",
|
||
|
"no-this-before-super": "warn",
|
||
|
"no-undef": "warn",
|
||
|
"no-unreachable": "warn",
|
||
|
"semi-spacing": "warn",
|
||
|
"constructor-super": "warn",
|
||
|
"valid-typeof": "warn",
|
||
|
"default-case": "warn",
|
||
|
"array-bracket-spacing": "warn",
|
||
|
"brace-style": "warn",
|
||
|
"camelcase": "warn",
|
||
|
"no-fallthrough": "warn",
|
||
|
"@typescript-eslint/semi": "warn",
|
||
|
"@typescript-eslint/no-explicit-any": "off"
|
||
|
}
|
||
|
}
|