forked from stanford-oval/almond-gnome
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yml
58 lines (58 loc) · 995 Bytes
/
.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
51
52
53
54
55
56
57
58
env:
es6: true
parserOptions:
ecmaVersion: 2017
extends: 'eslint:recommended'
globals:
window: false
imports: false
_: false
C_: false
N_: false
pkg: false
log: false
logError: false
rules:
indent: off
no-console: error
no-fallthrough: off
linebreak-style:
- error
- unix
semi:
- error
- always
consistent-return: warn
curly:
- error
- multi-or-nest
- consistent
eqeqeq:
- error
- always
no-unused-vars:
- error
-
args: none
no-case-declarations: warn
no-eval: error
no-proto: error
no-sequences: error
no-throw-literal: error
no-unmodified-loop-condition: warn
no-useless-call: warn
no-useless-return: warn
no-void: error
prefer-promise-reject-errors: error
strict:
- error
- global
no-label-var: error
no-lonely-if: off
no-new-object: error
arrow-body-style: off
arrow-parens:
- error
- always
prefer-arrow-callback: warn
prefer-numeric-literals: error