forked from Skydipper/graph-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yml
50 lines (48 loc) · 1.13 KB
/
.eslintrc.yml
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
---
extends: airbnb
env:
node: true
es6: true
parser: babel-eslint
parserOptions:
sourceType: module
ecmaVersion: 6
globals:
describe: true
it: true
before: true
after: true
rules:
max-len: [1, 200, 2, {"ignoreUrls":true}]
curly: [2, "multi-line"]
comma-dangle: [0, always-multiline]
no-underscore-dangle: 0
eqeqeq: [2, "allow-null"]
global-require: 0
no-shadow: 1
no-plusplus: 0
no-await-in-loop: 0
no-param-reassign: [2, { "props": false }]
indent: [2, 2]
padded-blocks: [2, { "switches": "always", "classes": "always" }]
quotes:
- 2
- single
- allowTemplateLiterals: true
settings:
import/resolver:
node:
extensions:
# if unset, default is just '.js', but it must be re-added explicitly if set
- .js
- .jsx
- .es6
- .coffee
paths:
# an array of absolute paths which will also be searched
# think NODE_PATH
- /usr/local/share/global_modules
# this is technically for identifying `node_modules` alternate names
moduleDirectory:
- node_modules # defaults to 'node_modules', but...
- app/src