Fix eslint errors
This commit is contained in:
parent
f856fe0060
commit
d0552c19b2
10 changed files with 179 additions and 139 deletions
17
.eslintrc
Normal file
17
.eslintrc
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"extends": "eslint-config-airbnb",
|
||||
"rules": {
|
||||
"indent": [2, 2, {"SwitchCase": 1}],
|
||||
"no-console": [0],
|
||||
"func-names": [0],
|
||||
"semi": [2, "never"],
|
||||
"no-extra-semi": [2],
|
||||
"space-before-function-paren": [2, "always"],
|
||||
"no-else-return": [0],
|
||||
"space-infix-ops": [0],
|
||||
"react/prefer-es6-class": [0],
|
||||
},
|
||||
"globals": {
|
||||
"__PREFIX_LINKS__": true,
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue