2023-05-19 15:22:48 -03:00
|
|
|
{
|
2023-05-23 20:42:06 -04:00
|
|
|
"extends": [
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
|
|
|
"plugin:@typescript-eslint/recommended-requiring-type-checking"
|
|
|
|
],
|
2024-06-01 13:03:27 +02:00
|
|
|
"plugins": ["@typescript-eslint"],
|
2023-05-23 20:42:06 -04:00
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"es6": true,
|
|
|
|
"node": true
|
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"@typescript-eslint/semi": ["error"],
|
2024-06-01 13:03:27 +02:00
|
|
|
"@typescript-eslint/explicit-function-return-type": "warn",
|
|
|
|
"@typescript-eslint/explicit-module-boundary-types": "warn",
|
|
|
|
"@typescript-eslint/restrict-template-expressions": "warn",
|
|
|
|
"@typescript-eslint/restrict-plus-operands": "warn",
|
|
|
|
"@typescript-eslint/no-unsafe-member-access": "warn",
|
2023-05-23 20:42:06 -04:00
|
|
|
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
|
2024-06-01 13:03:27 +02:00
|
|
|
"@typescript-eslint/no-misused-promises": "warn",
|
|
|
|
"@typescript-eslint/no-unsafe-argument": "warn",
|
|
|
|
"@typescript-eslint/no-unsafe-call": "warn",
|
|
|
|
"@typescript-eslint/no-unsafe-assignment": "warn",
|
|
|
|
"@typescript-eslint/no-explicit-any": "warn",
|
|
|
|
"@typescript-eslint/no-loss-of-precision": "warn",
|
|
|
|
"no-case-declarations": "warn"
|
2023-05-23 20:42:06 -04:00
|
|
|
},
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"parserOptions": {
|
|
|
|
"project": "./tsconfig.json"
|
|
|
|
}
|
2023-05-19 15:22:48 -03:00
|
|
|
}
|