/
.eslintrc.json
56 lines (56 loc) · 1.58 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
54
55
56
{
"extends": ["airbnb", "prettier", "prettier/react"],
"parser": "babel-eslint",
"plugins": ["prettier", "import", "cypress"],
"rules": {
"linebreak-style": ["off"],
"import/named": ["off"],
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": ["cypress/**/*.js"]
}
],
"import/no-unresolved": ["off"],
"import/no-named-as-default": ["off"],
"import/prefer-default-export": "off",
"import/extensions": [
"error",
"never",
{
"json": "always"
}
],
"no-labels": "off",
"no-restricted-syntax": "off",
"no-underscore-dangle": "off",
"no-use-before-define": "off",
"arrow-body-style": "off",
"spaced-comment": "off",
"no-await-in-loop": "off",
"no-mixed-operators": "off",
"no-plusplus": "off",
"react/sort-comp": "off",
"react/jsx-filename-extension": "off",
"react/require-default-props": "off",
"react/jsx-indent": "off",
"arrow-parens": "off",
"react/jsx-closing-bracket-location": "off",
"react/jsx-closing-tag-location": "off",
"react/jsx-curly-spacing": "off",
"react/jsx-equals-spacing": "off",
"react/jsx-first-prop-new-line": "off",
"react/jsx-indent-props": "off",
"react/jsx-one-expression-per-line": "off",
"react/jsx-max-props-per-line": "off",
"react/jsx-props-no-multi-spaces": "off",
"react/jsx-tag-spacing": "off",
"react/jsx-wrap-multilines": "off",
"react/prefer-stateless-function": "off"
},
"env": {
"browser": true,
"cypress/globals": true,
"mocha": true
}
}