forked from wireapp/wire-webapp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.yaml
51 lines (47 loc) · 960 Bytes
/
.eslintrc.yaml
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
env:
browser: true
node: true
es6: true
jasmine: true
extends:
"eslint:recommended"
globals:
_: true
$: true
amplify: true
cryptobox: true
CryptoJS: true
ko: true
libsodium: true
LRUCache: true
moment: true
pako: true
platform: true
Proteus: true
Raygun: true
twttr: true
wire: true
z: true
plugins:
- jsdoc
rules:
brace-style: [2, 1tbs]
comma-dangle: [2, always-multiline]
handle-callback-err: 2
indent: [2, 2, {SwitchCase: 1}]
jsdoc/require-hyphen-before-param-description: 2
keyword-spacing: 2
no-console: 0
no-dupe-class-members: 2
no-else-return: 2
no-multi-spaces: 2
no-shadow: 2
no-unused-expressions: 2
no-unused-vars: [2, {args: none}]
no-var: 2
quotes: [2, single, avoid-escape]
semi: [2, always]
sort-vars: 2
space-before-blocks: 2
strict: [2, global]
valid-jsdoc: [2, {prefer: {return: returns}, requireParamDescription: true, requireReturnDescription: true}]