@newsteam/eslint-config 0.0.107 → 0.0.110
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/cjs/plugins/typescript.js +63 -14
- package/package.json +10 -10
|
@@ -283,31 +283,80 @@ var rules = {
|
|
|
283
283
|
"error",
|
|
284
284
|
{
|
|
285
285
|
default: [
|
|
286
|
+
"signature",
|
|
287
|
+
// Fields
|
|
286
288
|
"public-static-field",
|
|
287
289
|
"protected-static-field",
|
|
288
290
|
"private-static-field",
|
|
291
|
+
"public-decorated-field",
|
|
292
|
+
"protected-decorated-field",
|
|
293
|
+
"private-decorated-field",
|
|
289
294
|
"public-instance-field",
|
|
290
295
|
"protected-instance-field",
|
|
291
296
|
"private-instance-field",
|
|
292
|
-
"public-field",
|
|
293
|
-
"protected-field",
|
|
294
|
-
"private-field",
|
|
295
|
-
|
|
296
|
-
"
|
|
297
|
-
"
|
|
298
|
-
"
|
|
297
|
+
"public-abstract-field",
|
|
298
|
+
"protected-abstract-field",
|
|
299
|
+
"private-abstract-field",
|
|
300
|
+
// Abstract Methods
|
|
301
|
+
"public-abstract-method",
|
|
302
|
+
"protected-abstract-method",
|
|
303
|
+
"private-abstract-method",
|
|
304
|
+
// Constructors
|
|
305
|
+
"public-constructor",
|
|
306
|
+
"protected-constructor",
|
|
307
|
+
"private-constructor",
|
|
308
|
+
// Getters
|
|
309
|
+
"public-static-get",
|
|
310
|
+
"protected-static-get",
|
|
311
|
+
"private-static-get",
|
|
312
|
+
"public-decorated-get",
|
|
313
|
+
"protected-decorated-get",
|
|
314
|
+
"private-decorated-get",
|
|
315
|
+
"public-instance-get",
|
|
316
|
+
"protected-instance-get",
|
|
317
|
+
"private-instance-get",
|
|
318
|
+
"public-abstract-get",
|
|
319
|
+
"protected-abstract-get",
|
|
320
|
+
"private-abstract-get",
|
|
321
|
+
"public-get",
|
|
322
|
+
"protected-get",
|
|
323
|
+
"private-get",
|
|
324
|
+
"static-get",
|
|
325
|
+
"instance-get",
|
|
326
|
+
"abstract-get",
|
|
327
|
+
"decorated-get",
|
|
328
|
+
"get",
|
|
329
|
+
// Setters
|
|
330
|
+
"public-static-set",
|
|
331
|
+
"protected-static-set",
|
|
332
|
+
"private-static-set",
|
|
333
|
+
"public-decorated-set",
|
|
334
|
+
"protected-decorated-set",
|
|
335
|
+
"private-decorated-set",
|
|
336
|
+
"public-instance-set",
|
|
337
|
+
"protected-instance-set",
|
|
338
|
+
"private-instance-set",
|
|
339
|
+
"public-abstract-set",
|
|
340
|
+
"protected-abstract-set",
|
|
341
|
+
"private-abstract-set",
|
|
342
|
+
"public-set",
|
|
343
|
+
"protected-set",
|
|
344
|
+
"private-set",
|
|
345
|
+
"static-set",
|
|
346
|
+
"instance-set",
|
|
347
|
+
"abstract-set",
|
|
348
|
+
"decorated-set",
|
|
349
|
+
"set",
|
|
350
|
+
// Methods
|
|
299
351
|
"public-static-method",
|
|
300
352
|
"protected-static-method",
|
|
301
353
|
"private-static-method",
|
|
354
|
+
"public-decorated-method",
|
|
355
|
+
"protected-decorated-method",
|
|
356
|
+
"private-decorated-method",
|
|
302
357
|
"public-instance-method",
|
|
303
358
|
"protected-instance-method",
|
|
304
|
-
"private-instance-method"
|
|
305
|
-
"public-method",
|
|
306
|
-
"protected-method",
|
|
307
|
-
"private-method",
|
|
308
|
-
"static-method",
|
|
309
|
-
"instance-method",
|
|
310
|
-
"method"
|
|
359
|
+
"private-instance-method"
|
|
311
360
|
]
|
|
312
361
|
}
|
|
313
362
|
],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@newsteam/eslint-config",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.110",
|
|
4
4
|
"description": "Shared config for eslint",
|
|
5
5
|
"main": "./lib/cjs/index.js",
|
|
6
6
|
"types": "./lib/cjs/index.d.ts",
|
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
"@newsteam/jasmine": "0.0.40",
|
|
53
53
|
"@types/eslint": "8.4.1",
|
|
54
54
|
"@types/node": "17.0.23",
|
|
55
|
-
"@types/react": "
|
|
56
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
57
|
-
"@typescript-eslint/parser": "5.
|
|
58
|
-
"eslint": "8.
|
|
55
|
+
"@types/react": "18.0.2",
|
|
56
|
+
"@typescript-eslint/eslint-plugin": "5.19.0",
|
|
57
|
+
"@typescript-eslint/parser": "5.19.0",
|
|
58
|
+
"eslint": "8.13.0",
|
|
59
59
|
"eslint-find-rules": "4.1.0",
|
|
60
60
|
"eslint-plugin-array-func": "3.1.7",
|
|
61
61
|
"eslint-plugin-css-modules": "2.11.0",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"eslint-plugin-eslint-comments": "3.2.0",
|
|
64
64
|
"eslint-plugin-filenames": "1.3.2",
|
|
65
65
|
"eslint-plugin-format-message": "6.2.4",
|
|
66
|
-
"eslint-plugin-import": "2.
|
|
66
|
+
"eslint-plugin-import": "2.26.0",
|
|
67
67
|
"eslint-plugin-more": "1.0.5",
|
|
68
68
|
"eslint-plugin-no-unsanitized": "4.0.1",
|
|
69
69
|
"eslint-plugin-no-useless-assign": "1.0.3",
|
|
@@ -84,16 +84,16 @@
|
|
|
84
84
|
"typescript": "4.6.3"
|
|
85
85
|
},
|
|
86
86
|
"peerDependencies": {
|
|
87
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
88
|
-
"@typescript-eslint/parser": "5.
|
|
89
|
-
"eslint": "8.
|
|
87
|
+
"@typescript-eslint/eslint-plugin": "5.19.0",
|
|
88
|
+
"@typescript-eslint/parser": "5.19.0",
|
|
89
|
+
"eslint": "8.13.0",
|
|
90
90
|
"eslint-plugin-array-func": "3.1.7",
|
|
91
91
|
"eslint-plugin-css-modules": "2.11.0",
|
|
92
92
|
"eslint-plugin-es": "4.1.0",
|
|
93
93
|
"eslint-plugin-eslint-comments": "3.2.0",
|
|
94
94
|
"eslint-plugin-filenames": "1.3.2",
|
|
95
95
|
"eslint-plugin-format-message": "6.2.4",
|
|
96
|
-
"eslint-plugin-import": "2.
|
|
96
|
+
"eslint-plugin-import": "2.26.0",
|
|
97
97
|
"eslint-plugin-more": "1.0.5",
|
|
98
98
|
"eslint-plugin-no-unsanitized": "4.0.1",
|
|
99
99
|
"eslint-plugin-no-useless-assign": "1.0.3",
|