@open-xchange/linter-presets 1.15.11 → 1.15.13
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/CHANGELOG.md +9 -0
- package/dist/eslint/core/ts.d.ts +1 -0
- package/dist/eslint/core/ts.js +1 -0
- package/package.json +23 -23
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## `1.15.13` – 2026-Jan-15
|
|
4
|
+
|
|
5
|
+
- added: (ESLint) rule `@typescript-eslint/strict-void-return`
|
|
6
|
+
- chore: bump dependencies
|
|
7
|
+
|
|
8
|
+
## `1.15.12` – 2026-Jan-04
|
|
9
|
+
|
|
10
|
+
- chore: bump dependencies
|
|
11
|
+
|
|
3
12
|
## `1.15.11` – 2025-Dec-25
|
|
4
13
|
|
|
5
14
|
- added: (ESLint) rules `jest/prefer-mock-return-shorthand`, `vitest/prefer-mock-return-shorthand`
|
package/dist/eslint/core/ts.d.ts
CHANGED
|
@@ -72,6 +72,7 @@ export declare const TSESLINT_RULES: {
|
|
|
72
72
|
readonly "@typescript-eslint/prefer-reduce-type-parameter": "off";
|
|
73
73
|
readonly "@typescript-eslint/restrict-template-expressions": "off";
|
|
74
74
|
readonly "@typescript-eslint/return-await": ["error", "always"];
|
|
75
|
+
readonly "@typescript-eslint/strict-void-return": "error";
|
|
75
76
|
readonly "@typescript-eslint/switch-exhaustiveness-check": ["error", {
|
|
76
77
|
readonly considerDefaultExhaustiveForUnions: true;
|
|
77
78
|
}];
|
package/dist/eslint/core/ts.js
CHANGED
|
@@ -49,6 +49,7 @@ export const TSESLINT_RULES = {
|
|
|
49
49
|
"@typescript-eslint/prefer-reduce-type-parameter": "off",
|
|
50
50
|
"@typescript-eslint/restrict-template-expressions": "off",
|
|
51
51
|
"@typescript-eslint/return-await": ["error", "always"],
|
|
52
|
+
"@typescript-eslint/strict-void-return": "error",
|
|
52
53
|
"@typescript-eslint/switch-exhaustiveness-check": ["error", { considerDefaultExhaustiveForUnions: true }],
|
|
53
54
|
"@typescript-eslint/unified-signatures": ["error", { ignoreDifferentlyNamedParameters: true }],
|
|
54
55
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-xchange/linter-presets",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.13",
|
|
4
4
|
"description": "Configuration presets for ESLint and StyleLint",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -30,60 +30,60 @@
|
|
|
30
30
|
"test": "cd test && eslint . && stylelint \"**/*.{css,scss}\""
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@babel/core": "^7.28.
|
|
34
|
-
"@babel/eslint-parser": "^7.28.
|
|
35
|
-
"@babel/plugin-proposal-decorators": "^7.28.
|
|
36
|
-
"@eslint-community/eslint-plugin-eslint-comments": "^4.
|
|
37
|
-
"@eslint-react/eslint-plugin": "^2.4
|
|
38
|
-
"@eslint/compat": "^2.0.
|
|
39
|
-
"@eslint/config-helpers": "^0.5.
|
|
33
|
+
"@babel/core": "^7.28.6",
|
|
34
|
+
"@babel/eslint-parser": "^7.28.6",
|
|
35
|
+
"@babel/plugin-proposal-decorators": "^7.28.6",
|
|
36
|
+
"@eslint-community/eslint-plugin-eslint-comments": "^4.6.0",
|
|
37
|
+
"@eslint-react/eslint-plugin": "^2.6.4",
|
|
38
|
+
"@eslint/compat": "^2.0.1",
|
|
39
|
+
"@eslint/config-helpers": "^0.5.1",
|
|
40
40
|
"@eslint/js": "^9.39.2",
|
|
41
41
|
"@eslint/markdown": "^7.5.1",
|
|
42
|
-
"@stylistic/eslint-plugin": "^5.
|
|
42
|
+
"@stylistic/eslint-plugin": "^5.7.0",
|
|
43
43
|
"@stylistic/eslint-plugin-migrate": "^4.4.1",
|
|
44
44
|
"@stylistic/stylelint-config": "^3.0.1",
|
|
45
45
|
"@stylistic/stylelint-plugin": "^4.0.0",
|
|
46
46
|
"@types/picomatch": "^4.0.2",
|
|
47
|
-
"@vitest/eslint-plugin": "^1.6.
|
|
47
|
+
"@vitest/eslint-plugin": "^1.6.6",
|
|
48
48
|
"@vue/eslint-config-typescript": "^14.6.0",
|
|
49
49
|
"confusing-browser-globals": "^1.0.11",
|
|
50
50
|
"empathic": "^2.0.0",
|
|
51
51
|
"eslint-plugin-chai-expect": "^3.1.0",
|
|
52
52
|
"eslint-plugin-codeceptjs": "^1.3.0",
|
|
53
53
|
"eslint-plugin-depend": "^1.4.0",
|
|
54
|
-
"eslint-plugin-eslint-plugin": "^7.
|
|
55
|
-
"eslint-plugin-jest": "^29.
|
|
54
|
+
"eslint-plugin-eslint-plugin": "^7.3.0",
|
|
55
|
+
"eslint-plugin-jest": "^29.12.1",
|
|
56
56
|
"eslint-plugin-jest-dom": "^5.5.0",
|
|
57
57
|
"eslint-plugin-jest-extended": "^3.0.1",
|
|
58
|
-
"eslint-plugin-jsdoc": "^
|
|
58
|
+
"eslint-plugin-jsdoc": "^62.0.0",
|
|
59
59
|
"eslint-plugin-jsonc": "^2.21.0",
|
|
60
60
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
61
61
|
"eslint-plugin-license-header": "^0.8.0",
|
|
62
|
-
"eslint-plugin-n": "^17.23.
|
|
62
|
+
"eslint-plugin-n": "^17.23.2",
|
|
63
63
|
"eslint-plugin-no-unsanitized": "^4.1.4",
|
|
64
64
|
"eslint-plugin-promise": "^7.2.1",
|
|
65
65
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
66
66
|
"eslint-plugin-react-refresh": "^0.4.26",
|
|
67
67
|
"eslint-plugin-regexp": "^2.10.0",
|
|
68
|
-
"eslint-plugin-testing-library": "^7.15.
|
|
68
|
+
"eslint-plugin-testing-library": "^7.15.4",
|
|
69
69
|
"eslint-plugin-vue": "^10.6.2",
|
|
70
70
|
"eslint-plugin-yml": "^1.19.1",
|
|
71
|
-
"globals": "^
|
|
71
|
+
"globals": "^17.0.0",
|
|
72
72
|
"picomatch": "^4.0.3",
|
|
73
|
-
"postcss-html": "^1.8.
|
|
73
|
+
"postcss-html": "^1.8.1",
|
|
74
74
|
"stylelint-config-standard": "^39.0.1",
|
|
75
|
-
"stylelint-config-standard-less": "^
|
|
75
|
+
"stylelint-config-standard-less": "^4.0.1",
|
|
76
76
|
"stylelint-config-standard-scss": "^16.0.0",
|
|
77
77
|
"stylelint-config-standard-vue": "^1.0.0",
|
|
78
78
|
"stylelint-plugin-license-header": "^1.0.3",
|
|
79
|
-
"typescript-eslint": "^8.
|
|
79
|
+
"typescript-eslint": "^8.53.0"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
82
|
"@types/confusing-browser-globals": "^1.0.3",
|
|
83
83
|
"@types/eslint-scope": "^8.3.2",
|
|
84
|
-
"@types/node": "^25.0.
|
|
85
|
-
"@types/react": "^19.2.
|
|
86
|
-
"@typescript-eslint/utils": "^8.
|
|
84
|
+
"@types/node": "^25.0.8",
|
|
85
|
+
"@types/react": "^19.2.8",
|
|
86
|
+
"@typescript-eslint/utils": "^8.53.0",
|
|
87
87
|
"eslint": "^9.39.2",
|
|
88
88
|
"jest": "^30.2.0",
|
|
89
89
|
"jiti": "^2.6.1",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"stylelint": "^16.26.1",
|
|
92
92
|
"ts-patch": "^3.3.0",
|
|
93
93
|
"typescript": "^5.9.3",
|
|
94
|
-
"typescript-transform-paths": "^3.5.
|
|
94
|
+
"typescript-transform-paths": "^3.5.6",
|
|
95
95
|
"vue": "^3.5.26"
|
|
96
96
|
},
|
|
97
97
|
"peerDependencies": {
|