2021-08-17 02:53:28 +03:00
|
|
|
{
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"es2021": true
|
|
|
|
},
|
|
|
|
"plugins": [
|
|
|
|
"security"
|
|
|
|
],
|
|
|
|
"extends": [
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
|
|
|
"plugin:security/recommended"
|
|
|
|
],
|
|
|
|
"rules": {
|
2022-03-23 01:36:43 +03:00
|
|
|
"indent": ["error"], // Enabling for auto fixing
|
2021-10-13 19:21:44 +03:00
|
|
|
"quotes": ["warn", "double"], // Enabled for auto fixing
|
2022-03-23 01:36:43 +03:00
|
|
|
"curly": [ "error" ], // Enabling for auto fixing
|
|
|
|
"brace-style": [ "error" ], // Enabling for auto fixing
|
2021-08-17 02:53:28 +03:00
|
|
|
"prefer-const": "off",
|
|
|
|
"prefer-spread": "off",
|
|
|
|
"no-var": "off",
|
|
|
|
"no-extra-boolean-cast": "off",
|
|
|
|
"prefer-rest-params": "off",
|
|
|
|
"no-case-declarations": "off",
|
|
|
|
"no-prototype-builtins": "off",
|
|
|
|
"no-useless-escape": "off", // Suppressing Error -- need to Review Later
|
2021-09-14 03:15:33 +03:00
|
|
|
"no-trailing-spaces": [ "warn", { "skipBlankLines": true }],// Enabled for auto fixing
|
|
|
|
"no-const-assign": "error",
|
2021-10-13 19:21:44 +03:00
|
|
|
"comma-dangle": [ "error", "never" ], // Enabled for auto fixing
|
2021-08-17 02:53:28 +03:00
|
|
|
"security/detect-object-injection": "off", // Suppress Warning -- need to Review Later
|
2022-10-07 20:12:08 +03:00
|
|
|
"security/detect-non-literal-fs-filename": "off", // This was causing a bunch of false positive matches for dynamic config "watch" function
|
2021-08-17 02:53:28 +03:00
|
|
|
"@typescript-eslint/ban-types": "off",
|
2021-10-13 19:21:44 +03:00
|
|
|
"@typescript-eslint/no-unused-vars": [ "warn", { "vars": "all", "args": "none", "argsIgnorePattern": "^_", "ignoreRestSiblings": true } ],
|
2021-08-17 02:53:28 +03:00
|
|
|
"@typescript-eslint/triple-slash-reference": "off",
|
|
|
|
"@typescript-eslint/no-inferrable-types": "off",
|
|
|
|
"@typescript-eslint/no-this-alias": "off",
|
|
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
|
|
"@typescript-eslint/no-empty-function": "off",
|
|
|
|
"@typescript-eslint/no-empty-interface": "off",
|
|
|
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
2021-10-13 19:21:44 +03:00
|
|
|
"@typescript-eslint/no-extra-semi": "error", // Enabled for auto fixing
|
2021-09-08 03:58:31 +03:00
|
|
|
"@typescript-eslint/no-non-null-assertion": "error"
|
2021-08-17 02:53:28 +03:00
|
|
|
}
|
|
|
|
}
|