@newsteam/eslint-config 0.0.210 → 0.0.211
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/dist/cjs/plugins/typescript.js +12 -0
- package/package.json +10 -10
|
@@ -369,6 +369,12 @@ var rules = {
|
|
|
369
369
|
* https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-array-constructor.md
|
|
370
370
|
*/
|
|
371
371
|
"@typescript-eslint/no-array-constructor": "error",
|
|
372
|
+
/*
|
|
373
|
+
* Disallow generic `Array` constructors.
|
|
374
|
+
*
|
|
375
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-array-delete.md
|
|
376
|
+
*/
|
|
377
|
+
"@typescript-eslint/no-array-delete": "error",
|
|
372
378
|
/*
|
|
373
379
|
* Requires that .toString() is only called on objects which provide useful information when stringified
|
|
374
380
|
*
|
|
@@ -819,6 +825,12 @@ var rules = {
|
|
|
819
825
|
* https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/prefer-optional-chain.md
|
|
820
826
|
*/
|
|
821
827
|
"@typescript-eslint/prefer-optional-chain": "error",
|
|
828
|
+
/*
|
|
829
|
+
* Require using Error objects as Promise rejection reasons.
|
|
830
|
+
*
|
|
831
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/prefer-promise-reject-errors.md
|
|
832
|
+
*/
|
|
833
|
+
"@typescript-eslint/prefer-promise-reject-errors": "error",
|
|
822
834
|
/*
|
|
823
835
|
* Require never-modified private members be marked as readonly
|
|
824
836
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@newsteam/eslint-config",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.211",
|
|
4
4
|
"description": "Shared config for eslint",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"types": "./dist/cjs/index.d.ts",
|
|
@@ -54,12 +54,12 @@
|
|
|
54
54
|
"eslint-plugin-you-dont-need-lodash-underscore": "6.13.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@stylistic/eslint-plugin": "1.5.
|
|
57
|
+
"@stylistic/eslint-plugin": "1.5.4",
|
|
58
58
|
"@types/eslint": "8.56.2",
|
|
59
59
|
"@types/jasmine": "^5.1.4",
|
|
60
|
-
"@types/node": "20.11.
|
|
61
|
-
"@typescript-eslint/eslint-plugin": "6.
|
|
62
|
-
"@typescript-eslint/parser": "6.
|
|
60
|
+
"@types/node": "20.11.5",
|
|
61
|
+
"@typescript-eslint/eslint-plugin": "6.19.0",
|
|
62
|
+
"@typescript-eslint/parser": "6.19.0",
|
|
63
63
|
"eslint": "8.56.0",
|
|
64
64
|
"eslint-find-rules": "4.1.0",
|
|
65
65
|
"eslint-plugin-array-func": "4.0.0",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"eslint-plugin-react": "7.33.2",
|
|
83
83
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
84
84
|
"eslint-plugin-react-native": "4.1.0",
|
|
85
|
-
"eslint-plugin-react-perf": "3.3.
|
|
85
|
+
"eslint-plugin-react-perf": "3.3.2",
|
|
86
86
|
"eslint-plugin-react-refresh": "^0.4.5",
|
|
87
87
|
"eslint-plugin-security": "2.1.0",
|
|
88
88
|
"eslint-plugin-sort-keys-fix": "1.1.2",
|
|
@@ -92,9 +92,9 @@
|
|
|
92
92
|
"typescript": "5.3.3"
|
|
93
93
|
},
|
|
94
94
|
"peerDependencies": {
|
|
95
|
-
"@stylistic/eslint-plugin": "1.5.
|
|
96
|
-
"@typescript-eslint/eslint-plugin": "6.
|
|
97
|
-
"@typescript-eslint/parser": "6.
|
|
95
|
+
"@stylistic/eslint-plugin": "1.5.4",
|
|
96
|
+
"@typescript-eslint/eslint-plugin": "6.19.0",
|
|
97
|
+
"@typescript-eslint/parser": "6.19.0",
|
|
98
98
|
"eslint": "8.56.0",
|
|
99
99
|
"eslint-plugin-array-func": "4.0.0",
|
|
100
100
|
"eslint-plugin-css-modules": "2.12.0",
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"eslint-plugin-react": "7.33.2",
|
|
116
116
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
117
117
|
"eslint-plugin-react-native": "4.1.0",
|
|
118
|
-
"eslint-plugin-react-perf": "3.3.
|
|
118
|
+
"eslint-plugin-react-perf": "3.3.2",
|
|
119
119
|
"eslint-plugin-react-refresh": "^0.4.5",
|
|
120
120
|
"eslint-plugin-security": "2.1.0",
|
|
121
121
|
"eslint-plugin-sort-keys-fix": "1.1.2",
|