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-07-03 12:47:26 +02:00
|
|
|
"plugins": ["@typescript-eslint", "prettier"],
|
2023-05-23 20:42:06 -04:00
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"es6": true,
|
|
|
|
"node": true
|
|
|
|
},
|
|
|
|
"rules": {
|
2024-06-01 13:03:27 +02:00
|
|
|
"@typescript-eslint/explicit-function-return-type": "warn",
|
|
|
|
"@typescript-eslint/restrict-template-expressions": "warn",
|
|
|
|
"@typescript-eslint/restrict-plus-operands": "warn",
|
|
|
|
"@typescript-eslint/no-unsafe-member-access": "warn",
|
2025-03-29 15:20:54 -07:00
|
|
|
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_", "caughtErrors": "none" }],
|
2024-06-01 13:03:27 +02:00
|
|
|
"@typescript-eslint/no-misused-promises": "warn",
|
2024-06-24 12:37:28 +02:00
|
|
|
"@typescript-eslint/no-unsafe-argument": "error",
|
2024-06-01 13:03:27 +02:00
|
|
|
"@typescript-eslint/no-unsafe-call": "warn",
|
|
|
|
"@typescript-eslint/no-unsafe-assignment": "warn",
|
|
|
|
"@typescript-eslint/no-explicit-any": "warn",
|
2025-03-29 15:20:54 -07:00
|
|
|
"no-loss-of-precision": "warn",
|
2025-01-20 12:21:39 +01:00
|
|
|
"@typescript-eslint/no-unnecessary-condition": "warn",
|
2025-03-29 15:20:54 -07:00
|
|
|
"@typescript-eslint/no-base-to-string": "off",
|
2025-02-24 20:56:27 -08:00
|
|
|
"no-case-declarations": "error",
|
2024-07-03 12:47:26 +02:00
|
|
|
"prettier/prettier": "error",
|
2025-01-31 14:15:36 +01:00
|
|
|
"no-mixed-spaces-and-tabs": "error",
|
|
|
|
"require-await": "off",
|
|
|
|
"@typescript-eslint/require-await": "error"
|
2023-05-23 20:42:06 -04:00
|
|
|
},
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"parserOptions": {
|
|
|
|
"project": "./tsconfig.json"
|
|
|
|
}
|
2023-05-19 15:22:48 -03:00
|
|
|
}
|