forked from romeovs/json-schema-empty
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
26 lines (20 loc) · 770 Bytes
/
.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
parser: babel-eslint # use babel parser
settings:
ecmascript : 6 # enable ES6 features
env:
browser : true # add browser env
node : true # add node env
es6 : true # add es6 env
mocha : true # add mocha env
ecmaFeatures:
modules: true
rules:
quotes:
- 1 # quotes are warnign
- 'single' # prefer single quotes (')
no-multi-spaces : 0 # allow multiple spaces after each other
no-multi-str : 0 # disable multiine string error (jsx bug)
strict : 0 # disable strict message, it is implied in ES6
key-spacing : 0 # disable warnings keyspacing because we use comma at newline
no-underscore-dangle: 0 # allow dangling underscores
# vim: ft=yaml