poll.horse/.eslintrc.json

45 lines
1.1 KiB
JSON
Raw Permalink Normal View History

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