-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy path.eslintrc.json
More file actions
26 lines (26 loc) · 852 Bytes
/
.eslintrc.json
File metadata and controls
26 lines (26 loc) · 852 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
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"extends": ["react-app", "airbnb", "airbnb-typescript", "plugin:prettier/recommended"],
"rules": {
"no-restricted-syntax": 0,
"no-continue": 0,
"no-console": 0,
"no-alert": 0,
"import/no-cycle": 0,
"consistent-return": 0,
"no-else-return": 0,
"func-names": 0,
"react/jsx-props-no-spreading": 0,
"react/jsx-one-expression-per-line": 0,
"react/require-default-props": 0,
"react/function-component-definition": [2, { "namedComponents": ["arrow-function", "function-declaration"] }],
"class-methods-use-this": 0,
"import/prefer-default-export": 0,
"import/no-extraneous-dependencies": 0,
"jsx-a11y/click-events-have-key-events": 0
},
"plugins": ["@typescript-eslint", "prettier"]
}