-
Notifications
You must be signed in to change notification settings - Fork 23
/
.eslintrc.json
53 lines (53 loc) · 1.46 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"root": true,
"env": {
"browser": true,
"es2021": true
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".ts", ".tsx"]
}
},
"import/extensions": [".js", ".ts", ".tsx"]
},
"extends": [
"plugin:react/recommended",
"plugin:react-hooks/recommended",
"plugin:prettier/recommended",
"airbnb-typescript"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module",
"project": "./tsconfig.json"
},
"plugins": ["import", "react", "@typescript-eslint", "prettier"],
"ignorePatterns": ["src/**/*.svg", "**/node_modules/**"],
"rules": {
"consistent-return": 0,
"function-paren-newline": 0,
"object-curly-newline": 0,
"react/prop-types": 0,
"react/jsx-filename-extension": 0,
"react/react-in-jsx-scope": 0,
"react/jsx-one-expression-per-line": 0,
"react/jsx-props-no-spreading": 0,
"react/jsx-closing-bracket-location": 0,
"react/no-unescaped-entities": 0,
"import/prefer-default-export": 0,
"implicit-arrow-linebreak": 0,
"jest/no-mocks-import": 0,
"prettier/prettier": "error",
"no-unused-vars": ["error", { "vars": "all", "args": "none", "ignoreRestSiblings": true }],
"@typescript-eslint/comma-dangle": 0,
"@typescript-eslint/no-use-before-define": 0,
"@typescript-eslint/indent": 0,
"@typescript-eslint/quotes": 0
}
}