lila/.eslintrc.json

32 lines
1.0 KiB
JSON
Raw Permalink Normal View History

{
"root": true,
"env": {
"browser": true,
"es2017": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"sourceType": "module"
},
"plugins": ["@typescript-eslint"],
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "plugin:@typescript-eslint/recommended"],
"rules": {
"linebreak-style": ["error", "unix"],
2021-04-07 08:23:33 -06:00
"no-duplicate-imports": "error",
2021-04-07 12:47:56 -06:00
"prefer-spread": "off",
"prefer-rest-params": "off",
"no-useless-escape": "off",
2021-04-07 13:13:08 -06:00
"no-constant-condition": ["warn", { "checkLoops": false }],
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-this-alias": "off",
"@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }],
2021-04-07 12:26:38 -06:00
"@typescript-eslint/no-empty-interface": "off",
2021-04-07 12:47:56 -06:00
"@typescript-eslint/explicit-module-boundary-types": "off",
2021-04-07 08:23:33 -06:00
"no-var": "warn",
"no-async-promise-executor": "warn"
}
}