-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.json
35 lines (35 loc) · 1 KB
/
.eslintrc.json
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
{
"root": true,
"extends": [
"airbnb-typescript",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
"prettier/@typescript-eslint",
"prettier/react"
],
"plugins": ["prettier", "@typescript-eslint", "import"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2021,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
},
"project": ["tsconfig.json", "tsconfig.build.json"]
},
"rules": {
"react/jsx-uses-react": "off",
"react/react-in-jsx-scope": "off",
"react/prop-types": "off",
"no-restricted-syntax": ["error", "LabeledStatement", "WithStatement"],
"no-sequences": "off",
"react/require-default-props": [
"error",
{ "ignoreFunctionalComponents": true }
],
"no-plusplus": "off"
},
"settings": {
"import/ignore": [".(scss|less|css)$", ".svg$"]
}
}