-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.js
50 lines (50 loc) · 1.09 KB
/
.eslintrc.js
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
module.exports = {
"extends": "airbnb",
"parserOptions": {
"ecmaVersion": 2017
},
"env": {
"browser": true,
"node": true,
"es6": true
},
"rules": {
"react/require-extension": 0,
"no-restricted-syntax": 0,
"camelcase": 1,
"eqeqeq": 2,
"no-tabs": 0,
"no-unused-vars": 0,
"indent": ["error", "tab"],
"quotes": ["error", "single", {"allowTemplateLiterals": true}],
"max-len": ["error", {
"code": 100,
"ignoreComments": true,
"ignoreTrailingComments": true,
"ignoreUrls": true,
"ignoreStrings": true,
"ignoreTemplateLiterals": true
}],
"strict": [0, "global"],
"global-require": 0,
"prefer-arrow-callback": 0,
"comma-dangle": 0,
"no-console": 0,
"func-names": 0,
"eol-last": 2,
"no-plusplus": 0,
"arrow-parens": 0,
"wrap-iife": 0,
"no-param-reassign": 0,
"prefer-template": 0,
"no-underscore-dangle": 0,
"padded-blocks": 0,
"consistent-return": 0,
"class-methods-use-this": 0,
"no-use-before-define": 0,
"object-curly-spacing": 0,
"newline-per-chained-call": 1,
"guard-for-in": 0,
"import/no-extraneous-dependencies": 0
}
};