forked from taye/interact.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
45 lines (42 loc) · 957 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
extends: 'eslint:recommended'
env:
browser: true
commonjs: true
es6: true
node: true
rules:
comma-dangle: [2, always-multiline]
comma-style: [2, last]
curly: 2
dot-notation: 2
eol-last: 2
eqeqeq: 2
guard-for-in: 0
indent: [2, 2]
linebreak-style: [2, unix]
no-caller: 2
no-console: 0
no-empty: 0
no-extra-bind: 2
no-self-compare: 2
no-sequences: 2
no-shadow: 2
no-shadow-restricted-names: 2
no-trailing-spaces: 2
no-unused-expressions: 2
one-var: [2, never]
quotes: [2, single, avoid-escape]
semi: [2, always]
keyword-spacing: [2, { before: true, after: true }]
space-before-function-paren: [2, always]
ecma-features:
arrow-functions: true
block-bindings: true
classes: true
for-of: true
destructuring: true
object-literal-computed-properties: true
object-literal-shorthand-methods: true
oobject-literal-shorthand-properties: true
super-in-functions: true
template-strings: true