-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy path.eslintrc
More file actions
41 lines (41 loc) · 945 Bytes
/
.eslintrc
File metadata and controls
41 lines (41 loc) · 945 Bytes
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
{
"env": {
"browser": true,
"es6": true,
"node": true
},
"parser": "babel-eslint",
"extends": ["eslint:recommended"],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly",
"describe": true,
"it": true,
"expect": true,
"jest": true,
"beforeEach": true
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
"indent": ["error", 2],
"arrow-parens": ["error", "as-needed"],
"class-methods-use-this": 0,
"brace-style": ["error", "stroustrup"],
"no-param-reassign": 0,
"prefer-template": 1,
"max-len": ["error", { "code": 100 }],
"function-paren-newline": 0,
"object-curly-newline": 0,
"no-use-before-define": 0,
"global-require": 0,
"import/no-dynamic-require": 0,
"import/no-unresolved": 0,
"import/extensions": 0,
"no-underscore-dangle": 0,
"camelcase": 0,
"semi": 1,
}
}