forked from yanivefraim/react-tdd-workshop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
50 lines (50 loc) · 1.25 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
43
44
45
46
47
48
49
50
{
"extends": ["airbnb", "prettier"],
"env": {
"browser": true,
"jest/globals": true
},
"parser": "babel-eslint",
"plugins": [
"jest",
"prettier"
],
"globals": {
"monaco": true
},
"rules": {
"linebreak-style": 0,
"prettier/prettier": [
"warn",
{
"bracketSpacing": true,
"printWidth": 100,
"singleQuote": true,
"trailingComma": "all"
}
],
"react/no-array-index-key": "off",
"arrow-body-style": "off",
"class-methods-use-this": "off",
"consistent-return": "off",
"function-paren-newline": "off",
"global-require": "off",
"import/no-dynamic-require": "off",
"import/prefer-default-export": "off",
"jsx-a11y/no-static-element-interactions": "off",
"jsx-a11y/click-events-have-key-events": "off",
"no-case-declarations": "off",
"no-debugger": "off",
"no-console": "off",
"no-mixed-operators": "off",
"no-multi-assign": "off",
"no-multiple-empty-lines": ["error", { "max": 1, "maxEOF": 1 }],
"no-param-reassign": "off",
"no-return-assign": "off",
"no-plusplus": "off",
"no-use-before-define": "off",
"no-useless-concat": "off",
"react/jsx-filename-extension": "off",
"react/prop-types": "off"
}
}