-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.json
More file actions
40 lines (40 loc) · 933 Bytes
/
.eslintrc.json
File metadata and controls
40 lines (40 loc) · 933 Bytes
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
32
33
34
35
36
37
38
39
40
{
"env": {
"browser": true,
"es2021": true
},
"parser": "@typescript-eslint/parser",
"extends": ["standard-with-typescript", "plugin:react/recommended"],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"project": "./tsconfig.json",
"ecmaFeatures": {
"jsx": true
}
},
"root": true,
"plugins": ["react", "@typescript-eslint"],
"rules": {
"import/no-absolute-path": "off",
"import/no-duplicates": "off",
"react/react-in-jsx-scope": "off",
"@typescript-eslint/indent": "off",
"react/prop-types": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/strict-boolean-expressions": "off"
},
"settings": {
"react": {
"version": "detect"
}
},
"ignorePatterns": [
"node_modules",
"dist",
"build",
"postcss.config.cjs",
"tailwind.config.cjs",
"vite.config.ts"
]
}