-
Notifications
You must be signed in to change notification settings - Fork 23
/
.eslintrc.yml
54 lines (52 loc) · 967 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
extends: eslint-config-cheminfo
env:
browser: true
amd: true
es6: true
parserOptions:
ecmaVersion: 2021
rules:
# Disable those for now
no-console: 1
no-eval: 0
curly: 0
eqeqeq: 0
camelcase: 0
no-unused-vars: 0
no-redeclare: 0
array-callback-return: 0
consistent-return: 0
prefer-spread: 0
default-case: 0
no-loop-func: 0
no-implicit-globals: 2
no-prototype-builtins: 0
no-empty-function: 0
one-var: 0
no-multi-spaces: 2
space-before-function-paren: 0
prefer-rest-params: 0
array-bracket-spacing: 0
brace-style:
- 2
- '1tbs'
- { allowSingleLine: true }
consistent-this:
- 2
- 'that'
no-trailing-spaces:
- 2
- { skipBlankLines: true }
import/no-dynamic-require: off
globals:
setImmediate: false
escape: false
unescape: false
$: false
jQuery: false
DataObject: false
DataArray: false
DataString: false
DataNumber: false
DataBoolean: false
ClipboardItem: false