-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.json
More file actions
35 lines (35 loc) · 785 Bytes
/
Copy path.eslintrc.json
File metadata and controls
35 lines (35 loc) · 785 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
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"plugin:react/recommended",
"airbnb",
"airbnb-typescript",
"prettier"
],
"plugins": [
"react",
"@typescript-eslint"
],
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json",
"ecmaVersion": 2020,
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"no-plusplus": "off",
"default-param-last": "off",
"react/jsx-filename-extension": ["error", { "extensions": [".jsx", ".tsx"] }],
"import/prefer-default-export": "off",
"no-shadow": "off",
"@typescript-eslint/no-shadow": ["error"],
"react/function-component-definition": "off",
"@typescript-eslint/default-param-last": "off"
}
}