-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
31 lines (31 loc) · 830 Bytes
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@tanstack/eslint-plugin-query/recommended",
"prettier",
"plugin:testing-library/react",
"plugin:jest-dom/recommended"
],
"plugins": ["@typescript-eslint", "testing-library", "jest-dom"],
"env": {
"browser": true,
"es2021": true
},
"rules": {
"no-var": "off",
"no-empty": "warn",
"prefer-const": "off",
"@typescript-eslint/no-non-null-asserted-optional-chain": "off",
"no-unused-vars": "warn",
"@typescript-eslint/no-unused-vars": "off",
"testing-library/prefer-explicit-assert": "error",
"testing-library/prefer-presence-queries": "error",
"testing-library/prefer-screen-queries": "error"
}
}