poll.horse/.eslintrc.json
Wolvan 8bc3f7fe36 Initial commit
This code serves as an application framework of sorts and is totally not
stolen from some of my other projects.
2021-12-28 21:11:19 +01:00

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