forked from keepassxreboot/keepassxc-browser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
136 lines (136 loc) · 4.14 KB
/
.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
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"extends": ["eslint-config-airbnb-base" ],
"env": {
"browser": true,
"es6": true,
"jquery": true,
"webextensions": true
},
"parserOptions": {
"ecmaVersion": 2017
},
"rules": {
"array-bracket-spacing": ["error", "always"],
"arrow-body-style": "warn",
"arrow-parens": "off",
"arrow-spacing": "warn",
"block-scoped-var": "off",
"brace-style": ["warn", "1tbs"],
"camelcase": "warn",
"class-methods-use-this": "off",
"comma-dangle": "off",
"computed-property-spacing": ["error", "never"],
"consistent-return": "off",
"dot-notation": "off",
"eqeqeq": "error",
"func-names": "off",
"guard-for-in": "off",
"indent": ["error", 4],
"linebreak-style": ["error", "unix"],
"lines-around-comment": "off",
"max-len": "off",
"no-alert": "error",
"no-await-in-loop": "off",
"no-bitwise": "off",
"no-console": "off",
"no-continue": "off",
"no-control-regex": "off",
"no-global-assign": "off",
"no-else-return": "off",
"no-extend-native": "off",
"no-lonely-if": "off",
"no-loop-func": "off",
"no-mixed-operators": "off",
"no-mixed-spaces-and-tabs": ["error", "smart-tabs"],
"no-multi-spaces": "warn",
"no-param-reassign": "off",
"no-plusplus": "off",
"no-prototype-builtins": "off",
"no-restricted-globals": "off",
"no-restricted-syntax": "off",
"no-return-await": "off",
"no-tabs": "warn",
"no-use-before-define": "off",
"no-useless-escape": "off",
"no-useless-return": "off",
"no-var": "off",
"no-underscore-dangle": "off",
"no-unused-vars": "warn",
"object-curly-spacing": ["warn", "always"],
"object-shorthand": "off",
"operator-linebreak": ["error", "before"],
"quote-props": "off",
"quotes": ["error", "single"],
"prefer-arrow-callback": "off",
"prefer-destructuring": "off",
"prefer-template": "off",
"semi": ["error", "always"],
"space-before-blocks": "warn",
"space-before-function-paren": "off",
"space-in-parens": ["error", "never"],
"space-unary-ops": "off",
"spaced-comment": "off",
"strict": "off",
"vars-on-top": "off"
},
"globals": {
"_called": true,
"_f": true,
"acceptedOTPFields": true,
"AssociatedAction": true,
"Autocomplete": true,
"browser": true,
"browserAction": true,
"createStylesheet": true,
"DatabaseState": true,
"EXTENSION_NAME": true,
"httpAuth": true,
"Icon": true,
"isEdge": true,
"isFirefox": true,
"IGNORE_AUTOSUBMIT": true,
"IGNORE_FULL": true,
"IGNORE_NORMAL": true,
"IGNORE_NOTHING": true,
"initColorTheme": true,
"jQuery": true,
"keepass": true,
"keepassClient": true,
"kpxc": true,
"kpActions": true,
"kpxcBanner": true,
"kpxcDefine": true,
"kpxcFields": true,
"kpxcFill": true,
"kpxcForm": true,
"kpxcEvent": true,
"kpxcIcons": true,
"kpxcObserverHelper": true,
"kpxcPasswordDialog": true,
"kpxcPasswordIcons": true,
"kpxcSites": true,
"kpxcTOTPAutocomplete": true,
"kpxcTOTPIcons": true,
"kpxcUserAutocomplete": true,
"kpxcUsernameIcons": true,
"kpxcUI": true,
"kpxcUsernameField": true,
"ManualFill": true,
"MAX_OPACITY": true,
"MIN_INPUT_FIELD_OFFSET_WIDTH": true,
"MIN_INPUT_FIELD_WIDTH_PX": true,
"MIN_OPACITY": true,
"MIN_TOTP_INPUT_LENGTH": true,
"nacl": true,
"page": true,
"Pixels": true,
"sendMessage": true,
"showNotification": true,
"siteMatch": true,
"slashNeededForUrl": true,
"statusResponse": true,
"tr": true,
"trimURL": true,
"PREDEFINED_SITELIST": true
}
}