-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
36 lines (36 loc) · 926 Bytes
/
.eslintrc.js
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
module.exports = {
root: true,
parser: "@typescript-eslint/parser",
parserOptions: {
project: ["./tsconfig.json"],
},
plugins: [
"@typescript-eslint",
"prettier"
],
extends: [
"prettier",
"react-app",
"react-app/jest",
"airbnb-typescript",
"plugin:cypress/recommended"
],
rules: {
"object-curly-newline": 0,
"import/prefer-default-export": 0,
"max-len": 0,
"react/require-default-props": 0,
"jsx-a11y/click-events-have-key-events": 0,
"no-mixed-operators": 0,
"operator-linebreak": 0,
"react/react-in-jsx-scope": 0,
"no-plusplus": 0,
"jsx-a11y/no-autofocus": 0,
"react/jsx-props-no-spreading": 0,
"no-continue": 0,
"react/jsx-no-bind": 0,
"react-hooks/exhaustive-deps": 0,
"no-param-reassign": ['error', { props: true, ignorePropertyModificationsFor: ['state'] }],
"testing-library/no-unnecessary-act": 0
}
};