@josundt/eslint-config 5.8.0 → 5.9.2
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/package.json +13 -13
- package/rules/typescript-eslint/rules.js +2 -0
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@josundt/eslint-config",
|
3
|
-
"version": "5.
|
3
|
+
"version": "5.9.2",
|
4
4
|
"description": "ESLint ruleset with required plugins for josundt TypeScript projects",
|
5
5
|
"type": "module",
|
6
6
|
"exports": {
|
@@ -38,23 +38,23 @@
|
|
38
38
|
"utils/**/*.js"
|
39
39
|
],
|
40
40
|
"peerDependencies": {
|
41
|
-
"typescript": ">=5.
|
41
|
+
"typescript": ">=5.9.2"
|
42
42
|
},
|
43
43
|
"dependencies": {
|
44
|
-
"@josundt/prettier-config": "^3.
|
45
|
-
"@eslint/js": "9.
|
46
|
-
"@typescript-eslint/eslint-plugin": "8.
|
47
|
-
"@typescript-eslint/parser": "8.
|
48
|
-
"eslint": "9.
|
44
|
+
"@josundt/prettier-config": "^3.6.2",
|
45
|
+
"@eslint/js": "9.33.0",
|
46
|
+
"@typescript-eslint/eslint-plugin": "8.39.0",
|
47
|
+
"@typescript-eslint/parser": "8.39.0",
|
48
|
+
"eslint": "9.33.0",
|
49
49
|
"eslint-formatter-visualstudio": "8.40.0",
|
50
|
-
"eslint-import-resolver-typescript": "
|
50
|
+
"eslint-import-resolver-typescript": "4.4.4",
|
51
51
|
"eslint-plugin-eslint-comments": "3.2.0",
|
52
|
-
"eslint-plugin-import": "2.
|
52
|
+
"eslint-plugin-import": "2.32.0",
|
53
53
|
"eslint-plugin-jasmine": "4.2.2",
|
54
|
-
"eslint-plugin-jest": "
|
55
|
-
"eslint-plugin-jsdoc": "
|
56
|
-
"eslint-plugin-prettier": "5.
|
57
|
-
"eslint-plugin-unicorn": "
|
54
|
+
"eslint-plugin-jest": "29.0.1",
|
55
|
+
"eslint-plugin-jsdoc": "52.0.4",
|
56
|
+
"eslint-plugin-prettier": "5.5.4",
|
57
|
+
"eslint-plugin-unicorn": "60.0.0"
|
58
58
|
},
|
59
59
|
"devDependencies": {
|
60
60
|
"@types/eslint__js": "9.14.0"
|
@@ -229,6 +229,7 @@ const rules = {
|
|
229
229
|
"no-unsafe-type-assertion": "off", // This rule will be difficult to enable because we sometimes need to force a type assertion
|
230
230
|
"no-useless-empty-export": "error",
|
231
231
|
"no-unnecessary-template-expression": "error",
|
232
|
+
"no-unnecessary-type-conversion": "error",
|
232
233
|
"no-var-requires": "error",
|
233
234
|
"non-nullable-type-assertion-style": "error",
|
234
235
|
"only-throw-error": [
|
@@ -262,6 +263,7 @@ const rules = {
|
|
262
263
|
ignoreTernaryTests: false,
|
263
264
|
ignoreMixedLogicalExpressions: false,
|
264
265
|
ignoreBooleanCoercion: false,
|
266
|
+
ignoreIfStatements: false,
|
265
267
|
ignorePrimitives: {
|
266
268
|
string: false,
|
267
269
|
number: false,
|