Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

.eslintrc

36 lines1.0 KB

1{
2 "parser": "@typescript-eslint/parser",
3 "plugins": ["@typescript-eslint", "import"],
4 "extends": [
5 "plugin:@typescript-eslint/eslint-recommended",
6 "plugin:@typescript-eslint/recommended",
7 "plugin:import/typescript",
8 "react-app",
9 "prettier"
10 ],
11 "env": {
12 "es6": true
13 },
14 "parserOptions": {
15 "sourceType": "module"
16 },
17 "rules": {
18 "@typescript-eslint/ban-types": "off",
19 "@typescript-eslint/ban-ts-comment": "off",
20 "@typescript-eslint/explicit-module-boundary-types": "off",
21 "@typescript-eslint/no-empty-interface": "off",
22 "@typescript-eslint/no-explicit-any": "off",
23 "@typescript-eslint/no-non-null-assertion": "off",
24 "@typescript-eslint/no-inferrable-types": [
25 "error",
26 {
27 "ignoreParameters": true
28 }
29 ],
30 "no-shadow": "error",
31 "import/no-cycle": "error",
32 "import/no-unresolved": ["error", { "ignore": ["react-query"] }],
33 "import/no-unused-modules": ["off", { "unusedExports": true }],
34 "no-redeclare": "off"
35 }