-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
34 lines (34 loc) · 1.07 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
{
"extends": "airbnb",
"env": {
"browser": true
},
"rules": {
"func-names": [
"error",
"never"
],
"indent": ["error", 4],
"react/jsx-indent": [1, 4],
"react/jsx-indent-props": [1, 4],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/react-in-jsx-scope": "off",
"react/no-array-index-key": "off",
"class-methods-use-this": "off",
"jsx-a11y/no-static-element-interactions": "off",
"import/no-dynamic-require": "off",
"comma-dangle": "off",
"global-require": "off",
"eqeqeq": "off",
"max-len": "off",
"no-new": "off",
"no-unused-vars": ["error", { "vars": "all", "args": "after-used", "ignoreRestSiblings": false, "varsIgnorePattern": "preact" }],
"react/no-unknown-property": [2, { "ignore": ["stroke-linecap", "stroke-linejoin", "stop-color"] }]
},
"globals": {
"vars": true,
"breadcrumbs": true,
"device": true,
"cordova": true
}
}