forked from project-slippi/slippi-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
45 lines (45 loc) · 1.2 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
{
"parser": "babel-eslint",
"extends": [
"airbnb-base",
"plugin:flowtype/recommended"
],
"plugins": [
"flowtype",
"flowtype-errors"
],
"env": {
"jest": true
},
"rules": {
"arrow-parens": ["off"],
"class-methods-use-this": "off",
"consistent-return": "off",
"comma-dangle": "off",
"default-case": "off",
"dot-notation": "off",
"flowtype-errors/show-errors": "warn",
"function-paren-newline": "off",
"generator-star-spacing": "off",
"import/no-unresolved": "error",
"import/no-extraneous-dependencies": "off",
"import/prefer-default-export": "off",
"indent": ["error", 2, { "SwitchCase": 0 }],
"jsx-quotes": "off",
"lines-between-class-members": "off",
"no-bitwise": "off",
"no-case-declarations": "off",
"no-console": "off",
"no-mixed-operators": "off",
"no-param-reassign": ["error", { "props": false }],
"no-use-before-define": "off",
"no-multi-assign": "off",
"object-curly-newline": "off",
"object-shorthand": ["error", "never"],
"one-var": "off",
"one-var-declaration-per-line": "off",
"operator-linebreak": "off",
"prefer-destructuring": "off",
"quotes": "off"
}
}