@newsteam/eslint-config 0.0.249 → 0.0.251
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 +0 -6
- package/package.json +11 -11
|
@@ -885,12 +885,6 @@ var rules = {
|
|
|
885
885
|
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-string-starts-ends-with.mdx
|
|
886
886
|
*/
|
|
887
887
|
"@typescript-eslint/prefer-string-starts-ends-with": "error",
|
|
888
|
-
/*
|
|
889
|
-
* Recommends using // @ts-expect-error over // @ts-ignore
|
|
890
|
-
*
|
|
891
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-ts-expect-error.mdx
|
|
892
|
-
*/
|
|
893
|
-
"@typescript-eslint/prefer-ts-expect-error": "error",
|
|
894
888
|
/*
|
|
895
889
|
* Functions that return promises must be async
|
|
896
890
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@newsteam/eslint-config",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.251",
|
|
4
4
|
"description": "Shared config for eslint",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"types": "./dist/cjs/index.d.ts",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"depcheck": "depcheck",
|
|
12
12
|
"lint": "npm run lint:eslint",
|
|
13
13
|
"lint:eslint": "npx eslint src --fix",
|
|
14
|
-
"prepublishOnly": "npm run clean && npm run build && npm run test && npm run clean:tests",
|
|
14
|
+
"prepublishOnly": "npm run clean && npm run build && npm run lint && npm run test && npm run clean:tests",
|
|
15
15
|
"test": "npm run test:ts && npm run depcheck && npm run test:rules",
|
|
16
16
|
"test:ts": "tsc --noEmit",
|
|
17
17
|
"test:rules": "npm run build && eslint-find-rules dist/cjs/index.js --unused --deprecated"
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"@types/eslint": "8.56.10",
|
|
59
59
|
"@types/jasmine": "5.1.4",
|
|
60
60
|
"@types/node": "20.12.12",
|
|
61
|
-
"@typescript-eslint/eslint-plugin": "7.
|
|
62
|
-
"@typescript-eslint/parser": "7.
|
|
61
|
+
"@typescript-eslint/eslint-plugin": "7.11.0",
|
|
62
|
+
"@typescript-eslint/parser": "7.11.0",
|
|
63
63
|
"eslint": "^8.57.0",
|
|
64
64
|
"eslint-find-rules": "4.1.0",
|
|
65
65
|
"eslint-plugin-array-func": "4.0.0",
|
|
@@ -78,8 +78,8 @@
|
|
|
78
78
|
"eslint-plugin-optimize-regex": "1.2.1",
|
|
79
79
|
"eslint-plugin-postcss-modules": "2.0.0",
|
|
80
80
|
"eslint-plugin-prefer-object-spread": "1.2.1",
|
|
81
|
-
"eslint-plugin-promise": "6.
|
|
82
|
-
"eslint-plugin-react": "7.34.
|
|
81
|
+
"eslint-plugin-promise": "6.2.0",
|
|
82
|
+
"eslint-plugin-react": "7.34.2",
|
|
83
83
|
"eslint-plugin-react-19-upgrade": "^1.6.0",
|
|
84
84
|
"eslint-plugin-react-compiler": "0.0.0-experimental-c8b3f72-20240517",
|
|
85
85
|
"eslint-plugin-react-hooks": "4.6.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.11.0",
|
|
100
|
+
"@typescript-eslint/parser": "7.11.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",
|
|
@@ -114,8 +114,8 @@
|
|
|
114
114
|
"eslint-plugin-optimize-regex": "1.2.1",
|
|
115
115
|
"eslint-plugin-postcss-modules": "2.0.0",
|
|
116
116
|
"eslint-plugin-prefer-object-spread": "1.2.1",
|
|
117
|
-
"eslint-plugin-promise": "6.
|
|
118
|
-
"eslint-plugin-react": "7.34.
|
|
117
|
+
"eslint-plugin-promise": "6.2.0",
|
|
118
|
+
"eslint-plugin-react": "7.34.2",
|
|
119
119
|
"eslint-plugin-react-19-upgrade": "^1.6.0",
|
|
120
120
|
"eslint-plugin-react-compiler": "0.0.0-experimental-c8b3f72-20240517",
|
|
121
121
|
"eslint-plugin-react-hooks": "4.6.2",
|
|
@@ -130,4 +130,4 @@
|
|
|
130
130
|
"json-schema": "0.4.0",
|
|
131
131
|
"typescript": "5.4.5"
|
|
132
132
|
}
|
|
133
|
-
}
|
|
133
|
+
}
|