-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc.json
95 lines (95 loc) · 2.18 KB
/
.eslintrc.json
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"env": {
"browser": true,
"es6": true,
"webextensions": true
},
"extends": "eslint:all",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2017
},
"rules": {
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
],
"arrow-parens": [
"error",
"as-needed"
],
"max-lines-per-function": "off",
"max-classes-per-file": "off",
"padded-blocks": "off",
"capitalized-comments": "off",
"sort-keys": "off",
"no-console": "off",
"require-jsdoc": "off",
"max-len": "off",
"no-negated-condition": "off",
"prefer-arrow-callback": "off",
"object-property-newline": "off",
"object-shorthand": "off",
"valid-jsdoc": "off",
"no-underscore-dangle": "off",
"no-warning-comments": "off",
"no-magic-numbers": "off",
"one-var": "off",
"func-style": "off",
"func-names": "off",
"line-comment-position": "off",
"no-inline-comments": "off",
"init-declarations": "off",
"no-unused-vars": "off",
"max-lines": "off",
"consistent-this": "off",
"max-statements": "off",
"prefer-promise-reject-errors": "off",
"id-length": "off",
"no-plusplus": "off",
"callback-return": "off",
"no-prototype-builtins": "off",
"consistent-return": "off",
"no-param-reassign": "off",
"prefer-destructuring": "off",
"no-throw-literal": "off",
"no-empty-function": "off",
"no-alert": "off",
"no-constant-condition": "off",
"no-invalid-this": "off",
"no-bitwise": "off",
"space-before-function-paren": "off",
"no-loop-func": "warn",
"no-undefined": "warn",
"class-methods-use-this": "off"
},
"globals": {
"cryptoHelpers": true,
"slowAES": true,
"UTF8": true,
"Keepass": true,
"Keywi": true,
"LocalSecureStorage": true,
"activeGetLogins": true,
"SecureStorage": true,
"debounce": true,
"request": true,
"Dialog": true,
"SetupNewPasswordDialog": true,
"UnlockDialog": true,
"BasicAuthDialog": true,
"SelectCredentialsDialog": true
}
}