2021-04-05 01:09:47 -06:00
|
|
|
{
|
|
|
|
"env": {
|
|
|
|
"node": true
|
|
|
|
},
|
|
|
|
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"],
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 12,
|
|
|
|
"sourceType": "module"
|
|
|
|
},
|
|
|
|
"plugins": ["@typescript-eslint"],
|
|
|
|
"rules": {
|
|
|
|
"linebreak-style": ["error", "unix"],
|
|
|
|
"quotes": ["off", "single"],
|
|
|
|
"semi": ["error", "always"],
|
|
|
|
"no-duplicate-imports": ["error"],
|
|
|
|
"no-var": "off",
|
|
|
|
"prefer-const": "off",
|
|
|
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
|
|
"@typescript-eslint/no-non-null-assertion": "off",
|
|
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
|
|
"@typescript-eslint/no-inferrable-types": "off",
|
|
|
|
"@typescript-eslint/no-unused-vars": "off",
|
|
|
|
"@typescript-eslint/no-empty-interface": "off",
|
|
|
|
"@typescript-eslint/no-this-alias": "off",
|
|
|
|
"prefer-spread": "off",
|
|
|
|
"prefer-rest-params": "off",
|
|
|
|
"no-useless-escape": "off",
|
|
|
|
"no-empty": "off",
|
|
|
|
"@typescript-eslint/no-empty-function": "off",
|
|
|
|
"no-self-assign": "off",
|
|
|
|
"no-case-declarations": "off",
|
|
|
|
"no-constant-condition": "off",
|
|
|
|
"no-prototype-builtins": "off",
|
|
|
|
"no-extra-boolean-cast": "off",
|
2021-04-05 13:27:25 -06:00
|
|
|
"@typescript-eslint/ban-types": "error",
|
2021-04-05 01:09:47 -06:00
|
|
|
"no-async-promise-executor": "off",
|
|
|
|
"@typescript-eslint/adjacent-overload-signatures": "off"
|
|
|
|
}
|
|
|
|
}
|