forked from atom/github
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
54 lines (54 loc) · 1.03 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
{
"root": true,
"parserOptions": {
"ecmaVersion": 2018,
"ecmaFeatures": {
"jsx": true,
}
},
"settings": {
"import/core-modules": [
"atom"
]
},
"plugins": [
"jsx-a11y"
],
"extends": ["fbjs-opensource"],
"rules": {
"linebreak-style": 0,
"no-param-reassign": 0,
"jsx-a11y/alt-text": 2,
"jsx-a11y/anchor-is-valid": 2,
"indent": ["error", 2],
"max-len": [1, 120, {tabWidth: 2, ignoreUrls: true}]
},
"globals": {
"atom": true,
"advanceClock": true,
"assert": true,
"HTMLElement": true,
"MouseEvent": true,
"IDBKeyRange": true,
"before": true,
"beforeEach": true,
"after": true,
"afterEach": true,
"describe": true,
"fdescribe": true,
"xdescribe": true,
"it": true,
"xit": true,
"stress": true,
"waitsForPromise": true,
"oneTick": true,
"until": true,
"runs": true,
"openAndActivated": true,
"jasmine": true,
"expect": true,
"spyOn": true,
"waitsFor": true,
"sinon": true,
}
}