33 lines
784 B
JSON
33 lines
784 B
JSON
{
|
|
"env": {
|
|
"node": true,
|
|
"jest": true,
|
|
"browser": true,
|
|
"es2021": true
|
|
},
|
|
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
|
|
"plugins": ["@typescript-eslint"],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": 2018,
|
|
"sourceType": "module"
|
|
},
|
|
"rules": {
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"@typescript-eslint/no-unused-vars": [
|
|
"warn",
|
|
{
|
|
"argsIgnorePattern": "^_",
|
|
"varsIgnorePattern": "^_",
|
|
"caughtErrorsIgnorePattern": "^_"
|
|
}
|
|
],
|
|
"no-console": "off",
|
|
"func-names": "off",
|
|
"no-underscore-dangle": "off",
|
|
"consistent-return": "off",
|
|
"jest/expect-expect": "off",
|
|
"security/detect-object-injection": "off"
|
|
}
|
|
}
|