-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
30 lines (30 loc) · 874 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
{
"env": { "browser": true, "es2020": true },
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"plugin:react-hooks/recommended",
"prettier"
],
"parserOptions": { "ecmaVersion": "latest", "sourceType": "module" },
"settings": { "react": { "version": "18.2" }, "jest": { "version": 26 } },
"plugins": ["@typescript-eslint", "react-refresh"],
"parser": "@typescript-eslint/parser",
"rules": {
"react-refresh/only-export-components": "off",
"react/react-in-jsx-scope": 0,
"react/prop-types": [2, { "ignore": ["className"] }],
"@typescript-eslint/no-non-null-assertion": 0
},
"ignorePatterns": [
"node_modules/",
"dist/",
"**/*.{css, scss}",
".eslintrc.*",
"dist/",
".stylelintrc.js",
"vite.config.ts"
]
}