2021-11-10 15:35:51 +00:00
|
|
|
{
|
|
|
|
"root": true,
|
|
|
|
"parser": "@typescript-eslint/parser",
|
2022-07-30 07:27:54 +00:00
|
|
|
"parserOptions": {
|
|
|
|
"tsconfigRootDir": "__dirname",
|
|
|
|
"project": [
|
|
|
|
"./apps/*/tsconfig.json",
|
|
|
|
"./apps/vscode/*/tsconfig.json",
|
|
|
|
"./packages/*/tsconfig.json"
|
|
|
|
]
|
|
|
|
},
|
2022-07-28 07:25:46 +00:00
|
|
|
"plugins": ["@typescript-eslint", "jest"],
|
|
|
|
"extends": [
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
|
|
|
"plugin:jest/recommended"
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"jest/no-export": "warn",
|
|
|
|
"jest/no-identical-title": "warn"
|
|
|
|
},
|
2021-11-10 15:35:51 +00:00
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
// enable the rule specifically for TypeScript files
|
|
|
|
"files": ["*.ts", "*.tsx"],
|
|
|
|
"rules": {
|
2022-06-25 14:38:43 +00:00
|
|
|
"@typescript-eslint/explicit-module-boundary-types": [0],
|
|
|
|
"@typescript-eslint/no-non-null-assertion": "off",
|
|
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
|
|
"@typescript-eslint/ban-ts-comment": "off",
|
|
|
|
"@typescript-eslint/no-unused-vars": [
|
|
|
|
"warn",
|
|
|
|
{
|
|
|
|
"argsIgnorePattern": "^_",
|
|
|
|
"varsIgnorePattern": "^_",
|
|
|
|
"destructuredArrayIgnorePattern": "^_",
|
|
|
|
"caughtErrorsIgnorePattern": "^_"
|
|
|
|
}
|
|
|
|
]
|
2021-11-10 15:35:51 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|