mirror of
https://github.com/Wolvan/poll.horse.git
synced 2024-11-25 14:08:01 +01:00
8bc3f7fe36
This code serves as an application framework of sorts and is totally not stolen from some of my other projects.
44 lines
1.1 KiB
JSON
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"
|
|
}
|
|
}
|