-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.eslintrc
42 lines (42 loc) · 1.41 KB
/
.eslintrc
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
{
"root": true,
"extends": ["react-app", "airbnb", "plugin:jsx-a11y/recommended", "plugin:prettier/recommended", "prettier"],
"plugins": ["jsx-a11y", "prettier"],
"ignorePatterns": ["**/redactor/*.js"],
"rules": {
"linebreak-style": 0,
"semi": ["error", "never"],
"prettier/prettier": "error",
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/function-component-definition": 0,
"react/jsx-one-expression-per-line": 0,
"react/jsx-props-no-spreading": 0,
"react-hooks/exhaustive-deps": 0,
"react/require-default-props": 0,
"react/no-array-index-key": 0,
"react/forbid-prop-types": 0,
"react/react-in-jsx-scope": 0,
"space-before-function-paren": ["error", "always"],
"jsx-quotes": ["error", "prefer-single"],
"max-len": [2, 120, 2],
"comma-dangle": ["error", "never"],
"no-plusplus": 0,
"arrow-parens": ["error", "as-needed"],
"import/no-named-as-default-member": 0,
"import/prefer-default-export": 0,
"object-curly-newline": 0,
"no-param-reassign": 0,
"default-case": 0,
"consistent-return": 0,
"no-trailing-spaces": "error",
"no-debugger": 0,
"no-restricted-globals": 0,
"no-restricted-exports": 0,
"no-confusing-arrow": 0,
"import/extensions": 0,
"import/no-extraneous-dependencies": 0,
"no-shadow": 0,
"function-paren-newline": [0],
"default-param-last": 0
}
}