-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
57 lines (57 loc) · 1.74 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
57
{
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true
},
"extends": "airbnb-base",
"overrides": {
"files": [ "test/**.js", "scripts/**/*.js"],
"rules": {
"import/no-extraneous-dependencies": "off",
"no-console": "off"
}
},
"rules": {
"arrow-parens": "off",
"no-bitwise": 0,
"class-methods-use-this": "off",
"comma-dangle": [ "error", "never" ],
"no-underscore-dangle": "off",
"consistent-return": "off",
"function-paren-newline": "off",
"global-require": "off",
"no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }],
"import/no-named-as-default": "off",
"indent": [ "error", 2 ],
"linebreak-style": [ "error", "unix" ],
"func-names": "off",
"no-plusplus": "off",
"object-curly-spacing": "off",
"quotes": [ "error", "single" ],
"semi-spacing": "error",
"semi": [ "error", "never" ],
"no-confusing-arrow": "off",
"no-else-return": "off",
"implicit-arrow-linebreak": "off",
"object-curly-newline": "off",
"operator-linebreak": "off",
"prefer-arrow-callback": [ "error", { "allowNamedFunctions": true } ],
"space-before-function-paren": [
"error",
{
"anonymous": "never",
"named": "never",
"asyncArrow": "always"
}
],
"import/no-named-default": "off",
"import/prefer-default-export": "off",
"arrow-body-style": "off",
"no-multi-assign": "off",
"no-lonely-if": "off",
"no-param-reassign": "off",
"no-return-assign": "warn",
"max-len": "off"
}
}