@newsteam/eslint-config 0.0.251 → 0.0.253
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.
|
@@ -634,6 +634,12 @@ var rules = {
|
|
|
634
634
|
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unnecessary-qualifier.mdx
|
|
635
635
|
*/
|
|
636
636
|
"@typescript-eslint/no-unnecessary-qualifier": "error",
|
|
637
|
+
/*
|
|
638
|
+
* Disallow unnecessary template literals.
|
|
639
|
+
*
|
|
640
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unnecessary-template-expression.mdx
|
|
641
|
+
*/
|
|
642
|
+
"@typescript-eslint/no-unnecessary-template-expression": "error",
|
|
637
643
|
/*
|
|
638
644
|
* Enforces that types will not to be used
|
|
639
645
|
*
|
|
@@ -739,12 +745,6 @@ var rules = {
|
|
|
739
745
|
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-useless-empty-export.mdx
|
|
740
746
|
*/
|
|
741
747
|
"@typescript-eslint/no-useless-empty-export": "error",
|
|
742
|
-
/*
|
|
743
|
-
* Disallow unnecessary template literals.
|
|
744
|
-
*
|
|
745
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-useless-template-literals.mdx
|
|
746
|
-
*/
|
|
747
|
-
"@typescript-eslint/no-useless-template-literals": "error",
|
|
748
748
|
/*
|
|
749
749
|
* Disallows the use of require statements except in import statements
|
|
750
750
|
*
|
|
@@ -930,12 +930,6 @@ var rules = {
|
|
|
930
930
|
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/return-await.mdx
|
|
931
931
|
*/
|
|
932
932
|
"@typescript-eslint/return-await": "error",
|
|
933
|
-
/*
|
|
934
|
-
* Enforce constituents of a type union/intersection to be sorted alphabetically.
|
|
935
|
-
*
|
|
936
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/sort-type-constituents.mdx
|
|
937
|
-
*/
|
|
938
|
-
"@typescript-eslint/sort-type-constituents": "error",
|
|
939
933
|
/*
|
|
940
934
|
* Boolean expressions are limited to booleans
|
|
941
935
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@newsteam/eslint-config",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.253",
|
|
4
4
|
"description": "Shared config for eslint",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"types": "./dist/cjs/index.d.ts",
|
|
@@ -57,9 +57,9 @@
|
|
|
57
57
|
"@stylistic/eslint-plugin": "2.1.0",
|
|
58
58
|
"@types/eslint": "8.56.10",
|
|
59
59
|
"@types/jasmine": "5.1.4",
|
|
60
|
-
"@types/node": "20.
|
|
61
|
-
"@typescript-eslint/eslint-plugin": "7.
|
|
62
|
-
"@typescript-eslint/parser": "7.
|
|
60
|
+
"@types/node": "20.14.2",
|
|
61
|
+
"@typescript-eslint/eslint-plugin": "7.13.0",
|
|
62
|
+
"@typescript-eslint/parser": "7.13.0",
|
|
63
63
|
"eslint": "^8.57.0",
|
|
64
64
|
"eslint-find-rules": "4.1.0",
|
|
65
65
|
"eslint-plugin-array-func": "4.0.0",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"eslint-plugin-promise": "6.2.0",
|
|
82
82
|
"eslint-plugin-react": "7.34.2",
|
|
83
83
|
"eslint-plugin-react-19-upgrade": "^1.6.0",
|
|
84
|
-
"eslint-plugin-react-compiler": "
|
|
84
|
+
"eslint-plugin-react-compiler": "next",
|
|
85
85
|
"eslint-plugin-react-hooks": "4.6.2",
|
|
86
86
|
"eslint-plugin-react-native": "4.1.0",
|
|
87
87
|
"eslint-plugin-react-perf": "3.3.2",
|
|
@@ -96,8 +96,8 @@
|
|
|
96
96
|
},
|
|
97
97
|
"peerDependencies": {
|
|
98
98
|
"@stylistic/eslint-plugin": "2.1.0",
|
|
99
|
-
"@typescript-eslint/eslint-plugin": "7.
|
|
100
|
-
"@typescript-eslint/parser": "7.
|
|
99
|
+
"@typescript-eslint/eslint-plugin": "7.13.0",
|
|
100
|
+
"@typescript-eslint/parser": "7.13.0",
|
|
101
101
|
"eslint": "^8.57.0",
|
|
102
102
|
"eslint-plugin-array-func": "4.0.0",
|
|
103
103
|
"eslint-plugin-css-modules": "2.12.0",
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
"eslint-plugin-promise": "6.2.0",
|
|
118
118
|
"eslint-plugin-react": "7.34.2",
|
|
119
119
|
"eslint-plugin-react-19-upgrade": "^1.6.0",
|
|
120
|
-
"eslint-plugin-react-compiler": "
|
|
120
|
+
"eslint-plugin-react-compiler": "next",
|
|
121
121
|
"eslint-plugin-react-hooks": "4.6.2",
|
|
122
122
|
"eslint-plugin-react-native": "4.1.0",
|
|
123
123
|
"eslint-plugin-react-perf": "3.3.2",
|