-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
56 lines (56 loc) · 1.26 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
51
52
53
54
55
56
{
"root": true,
"parser": "babel-eslint",
"extends": ["airbnb", "prettier", "prettier/react"],
"plugins": ["import", "prettier", "react", "unicorn"],
"rules": {
"indent": "off",
"no-tabs": "off",
"global-require": "off",
"react/jsx-indent": ["error", "tab"],
"react/jsx-filename-extension": [
1,
{
"extensions": [".js", ".jsx"]
}
],
"react/jsx-indent-props": 0,
"react/no-unescaped-entities": "off",
"react/forbid-prop-types": "off",
"react/no-array-index-key": "off",
"no-underscore-dangle": "off",
"import/prefer-default-export": "off",
"no-console": "off",
"function-paren-newline": "off",
"jsx-a11y/anchor-is-valid": 0,
"react/prefer-stateless-function": 0,
"arrow-parens": "off",
"curly": "off",
"object-curly-newline": "off",
"no-confusing-arrow": "off",
"no-return-assign": "off",
"no-param-reassign": "off",
"no-unused-expressions": "off",
"no-nested-ternary": "off",
"import/first": 0,
"no-mixed-spaces-and-tabs": "error",
"newline-per-chained-call": "error",
"prettier/prettier": [
"error",
{
"singleQuote": true,
"printWidth": 100,
"tabWidth": 4,
"useTabs": true
}
],
"comma-dangle": "off"
},
"env": {
"browser": true,
"node": true
},
"globals": {
"chrome": true
}
}