eslint-config-nodebb 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib.js CHANGED
@@ -45,7 +45,7 @@ module.exports = {
45
45
  "strict": ["error", "global"],
46
46
  // we actually use tabs for indentation
47
47
  "indent": ["error", "tab", { "SwitchCase": 1 }],
48
- "no-tabs": ["error", { allowIndentationTabs: true }]
48
+ "no-tabs": ["error", { allowIndentationTabs: true }],
49
49
  // we want `== null` to also handle undefined
50
50
  "no-eq-null": "off",
51
51
  // allow `for (..; i++)`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-nodebb",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/public.js CHANGED
@@ -9,10 +9,10 @@ module.exports = {
9
9
  "overrides": true,
10
10
  "componentHandler": true,
11
11
  "bootbox": true,
12
- "Visibility": true,
13
12
  "Tinycon": true,
14
13
  "Promise": true,
15
- "navigator": true
14
+ "navigator": true,
15
+ "ace": true
16
16
  },
17
17
  "env": {
18
18
  "jquery": true,
@@ -61,7 +61,8 @@ module.exports = {
61
61
  ]
62
62
  },
63
63
  "parserOptions": {
64
- "ecmaVersion": 2018,
64
+ "ecmaVersion": 2020,
65
+ "sourceType": "module",
65
66
  "ecmaFeatures": {
66
67
  "classes": false,
67
68
  "defaultParams": false,
@@ -70,7 +71,6 @@ module.exports = {
70
71
  "generators": false,
71
72
  "globalReturn": false,
72
73
  "jsx": false,
73
- "modules": false,
74
74
  "objectLiteralComputedProperties": false,
75
75
  "objectLiteralDuplicateProperties": false,
76
76
  "objectLiteralShorthandMethods": false,
package/package-lock.json DELETED
@@ -1,306 +0,0 @@
1
- {
2
- "name": "eslint-config-nodebb",
3
- "version": "0.1.0",
4
- "lockfileVersion": 1,
5
- "requires": true,
6
- "dependencies": {
7
- "call-bind": {
8
- "version": "1.0.2",
9
- "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz",
10
- "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==",
11
- "requires": {
12
- "function-bind": "^1.1.1",
13
- "get-intrinsic": "^1.0.2"
14
- }
15
- },
16
- "confusing-browser-globals": {
17
- "version": "1.0.10",
18
- "resolved": "https://registry.npmjs.org/confusing-browser-globals/-/confusing-browser-globals-1.0.10.tgz",
19
- "integrity": "sha512-gNld/3lySHwuhaVluJUKLePYirM3QNCKzVxqAdhJII9/WXKVX5PURzMVJspS1jTslSqjeuG4KMVTSouit5YPHA=="
20
- },
21
- "define-properties": {
22
- "version": "1.1.3",
23
- "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz",
24
- "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==",
25
- "requires": {
26
- "object-keys": "^1.0.12"
27
- }
28
- },
29
- "es-abstract": {
30
- "version": "1.19.1",
31
- "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.19.1.tgz",
32
- "integrity": "sha512-2vJ6tjA/UfqLm2MPs7jxVybLoB8i1t1Jd9R3kISld20sIxPcTbLuggQOUxeWeAvIUkduv/CfMjuh4WmiXr2v9w==",
33
- "requires": {
34
- "call-bind": "^1.0.2",
35
- "es-to-primitive": "^1.2.1",
36
- "function-bind": "^1.1.1",
37
- "get-intrinsic": "^1.1.1",
38
- "get-symbol-description": "^1.0.0",
39
- "has": "^1.0.3",
40
- "has-symbols": "^1.0.2",
41
- "internal-slot": "^1.0.3",
42
- "is-callable": "^1.2.4",
43
- "is-negative-zero": "^2.0.1",
44
- "is-regex": "^1.1.4",
45
- "is-shared-array-buffer": "^1.0.1",
46
- "is-string": "^1.0.7",
47
- "is-weakref": "^1.0.1",
48
- "object-inspect": "^1.11.0",
49
- "object-keys": "^1.1.1",
50
- "object.assign": "^4.1.2",
51
- "string.prototype.trimend": "^1.0.4",
52
- "string.prototype.trimstart": "^1.0.4",
53
- "unbox-primitive": "^1.0.1"
54
- }
55
- },
56
- "es-to-primitive": {
57
- "version": "1.2.1",
58
- "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz",
59
- "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==",
60
- "requires": {
61
- "is-callable": "^1.1.4",
62
- "is-date-object": "^1.0.1",
63
- "is-symbol": "^1.0.2"
64
- }
65
- },
66
- "eslint-config-airbnb-base": {
67
- "version": "15.0.0",
68
- "resolved": "https://registry.npmjs.org/eslint-config-airbnb-base/-/eslint-config-airbnb-base-15.0.0.tgz",
69
- "integrity": "sha512-xaX3z4ZZIcFLvh2oUNvcX5oEofXda7giYmuplVxoOg5A7EXJMrUyqRgR+mhDhPK8LZ4PttFOBvCYDbX3sUoUig==",
70
- "requires": {
71
- "confusing-browser-globals": "^1.0.10",
72
- "object.assign": "^4.1.2",
73
- "object.entries": "^1.1.5",
74
- "semver": "^6.3.0"
75
- }
76
- },
77
- "function-bind": {
78
- "version": "1.1.1",
79
- "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
80
- "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
81
- },
82
- "get-intrinsic": {
83
- "version": "1.1.1",
84
- "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz",
85
- "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==",
86
- "requires": {
87
- "function-bind": "^1.1.1",
88
- "has": "^1.0.3",
89
- "has-symbols": "^1.0.1"
90
- }
91
- },
92
- "get-symbol-description": {
93
- "version": "1.0.0",
94
- "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz",
95
- "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==",
96
- "requires": {
97
- "call-bind": "^1.0.2",
98
- "get-intrinsic": "^1.1.1"
99
- }
100
- },
101
- "has": {
102
- "version": "1.0.3",
103
- "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
104
- "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
105
- "requires": {
106
- "function-bind": "^1.1.1"
107
- }
108
- },
109
- "has-bigints": {
110
- "version": "1.0.1",
111
- "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz",
112
- "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA=="
113
- },
114
- "has-symbols": {
115
- "version": "1.0.2",
116
- "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz",
117
- "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw=="
118
- },
119
- "has-tostringtag": {
120
- "version": "1.0.0",
121
- "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz",
122
- "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==",
123
- "requires": {
124
- "has-symbols": "^1.0.2"
125
- }
126
- },
127
- "internal-slot": {
128
- "version": "1.0.3",
129
- "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz",
130
- "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==",
131
- "requires": {
132
- "get-intrinsic": "^1.1.0",
133
- "has": "^1.0.3",
134
- "side-channel": "^1.0.4"
135
- }
136
- },
137
- "is-bigint": {
138
- "version": "1.0.4",
139
- "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz",
140
- "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==",
141
- "requires": {
142
- "has-bigints": "^1.0.1"
143
- }
144
- },
145
- "is-boolean-object": {
146
- "version": "1.1.2",
147
- "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz",
148
- "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==",
149
- "requires": {
150
- "call-bind": "^1.0.2",
151
- "has-tostringtag": "^1.0.0"
152
- }
153
- },
154
- "is-callable": {
155
- "version": "1.2.4",
156
- "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.4.tgz",
157
- "integrity": "sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w=="
158
- },
159
- "is-date-object": {
160
- "version": "1.0.5",
161
- "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz",
162
- "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==",
163
- "requires": {
164
- "has-tostringtag": "^1.0.0"
165
- }
166
- },
167
- "is-negative-zero": {
168
- "version": "2.0.1",
169
- "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz",
170
- "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w=="
171
- },
172
- "is-number-object": {
173
- "version": "1.0.6",
174
- "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.6.tgz",
175
- "integrity": "sha512-bEVOqiRcvo3zO1+G2lVMy+gkkEm9Yh7cDMRusKKu5ZJKPUYSJwICTKZrNKHA2EbSP0Tu0+6B/emsYNHZyn6K8g==",
176
- "requires": {
177
- "has-tostringtag": "^1.0.0"
178
- }
179
- },
180
- "is-regex": {
181
- "version": "1.1.4",
182
- "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz",
183
- "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==",
184
- "requires": {
185
- "call-bind": "^1.0.2",
186
- "has-tostringtag": "^1.0.0"
187
- }
188
- },
189
- "is-shared-array-buffer": {
190
- "version": "1.0.1",
191
- "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.1.tgz",
192
- "integrity": "sha512-IU0NmyknYZN0rChcKhRO1X8LYz5Isj/Fsqh8NJOSf+N/hCOTwy29F32Ik7a+QszE63IdvmwdTPDd6cZ5pg4cwA=="
193
- },
194
- "is-string": {
195
- "version": "1.0.7",
196
- "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz",
197
- "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==",
198
- "requires": {
199
- "has-tostringtag": "^1.0.0"
200
- }
201
- },
202
- "is-symbol": {
203
- "version": "1.0.4",
204
- "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz",
205
- "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==",
206
- "requires": {
207
- "has-symbols": "^1.0.2"
208
- }
209
- },
210
- "is-weakref": {
211
- "version": "1.0.1",
212
- "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.1.tgz",
213
- "integrity": "sha512-b2jKc2pQZjaeFYWEf7ScFj+Be1I+PXmlu572Q8coTXZ+LD/QQZ7ShPMst8h16riVgyXTQwUsFEl74mDvc/3MHQ==",
214
- "requires": {
215
- "call-bind": "^1.0.0"
216
- }
217
- },
218
- "object-inspect": {
219
- "version": "1.11.0",
220
- "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.11.0.tgz",
221
- "integrity": "sha512-jp7ikS6Sd3GxQfZJPyH3cjcbJF6GZPClgdV+EFygjFLQ5FmW/dRUnTd9PQ9k0JhoNDabWFbpF1yCdSWCC6gexg=="
222
- },
223
- "object-keys": {
224
- "version": "1.1.1",
225
- "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
226
- "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA=="
227
- },
228
- "object.assign": {
229
- "version": "4.1.2",
230
- "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz",
231
- "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==",
232
- "requires": {
233
- "call-bind": "^1.0.0",
234
- "define-properties": "^1.1.3",
235
- "has-symbols": "^1.0.1",
236
- "object-keys": "^1.1.1"
237
- }
238
- },
239
- "object.entries": {
240
- "version": "1.1.5",
241
- "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.5.tgz",
242
- "integrity": "sha512-TyxmjUoZggd4OrrU1W66FMDG6CuqJxsFvymeyXI51+vQLN67zYfZseptRge703kKQdo4uccgAKebXFcRCzk4+g==",
243
- "requires": {
244
- "call-bind": "^1.0.2",
245
- "define-properties": "^1.1.3",
246
- "es-abstract": "^1.19.1"
247
- }
248
- },
249
- "semver": {
250
- "version": "6.3.0",
251
- "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
252
- "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
253
- },
254
- "side-channel": {
255
- "version": "1.0.4",
256
- "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz",
257
- "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==",
258
- "requires": {
259
- "call-bind": "^1.0.0",
260
- "get-intrinsic": "^1.0.2",
261
- "object-inspect": "^1.9.0"
262
- }
263
- },
264
- "string.prototype.trimend": {
265
- "version": "1.0.4",
266
- "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz",
267
- "integrity": "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==",
268
- "requires": {
269
- "call-bind": "^1.0.2",
270
- "define-properties": "^1.1.3"
271
- }
272
- },
273
- "string.prototype.trimstart": {
274
- "version": "1.0.4",
275
- "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz",
276
- "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==",
277
- "requires": {
278
- "call-bind": "^1.0.2",
279
- "define-properties": "^1.1.3"
280
- }
281
- },
282
- "unbox-primitive": {
283
- "version": "1.0.1",
284
- "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz",
285
- "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==",
286
- "requires": {
287
- "function-bind": "^1.1.1",
288
- "has-bigints": "^1.0.1",
289
- "has-symbols": "^1.0.2",
290
- "which-boxed-primitive": "^1.0.2"
291
- }
292
- },
293
- "which-boxed-primitive": {
294
- "version": "1.0.2",
295
- "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz",
296
- "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==",
297
- "requires": {
298
- "is-bigint": "^1.0.1",
299
- "is-boolean-object": "^1.1.0",
300
- "is-number-object": "^1.0.4",
301
- "is-string": "^1.0.5",
302
- "is-symbol": "^1.0.3"
303
- }
304
- }
305
- }
306
- }