@open-xchange/linter-presets 1.15.10 → 1.15.12
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/env/jest.js +1 -0
- package/dist/eslint/env/vitest.js +1 -0
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## `1.15.12` – 2026-Jan-04
|
|
4
|
+
|
|
5
|
+
- chore: bump dependencies
|
|
6
|
+
|
|
7
|
+
## `1.15.11` – 2025-Dec-25
|
|
8
|
+
|
|
9
|
+
- added: (ESLint) rules `jest/prefer-mock-return-shorthand`, `vitest/prefer-mock-return-shorthand`
|
|
10
|
+
- chore: bump dependencies
|
|
11
|
+
|
|
3
12
|
## `1.15.10` – 2025-Dec-23
|
|
4
13
|
|
|
5
14
|
- added: (ESLint) rules `jest/no-error-equal`, `jest/no-unnecessary-assertion`, `vitest/prefer-import-in-mock`
|
package/dist/eslint/env/jest.js
CHANGED
|
@@ -42,6 +42,7 @@ export default function jest(envOptions) {
|
|
|
42
42
|
"jest/prefer-jest-mocked": "error",
|
|
43
43
|
"jest/prefer-lowercase-title": "error",
|
|
44
44
|
"jest/prefer-mock-promise-shorthand": "error",
|
|
45
|
+
"jest/prefer-mock-return-shorthand": "error",
|
|
45
46
|
"jest/prefer-spy-on": "error",
|
|
46
47
|
"jest/prefer-todo": "error",
|
|
47
48
|
"jest/require-top-level-describe": "error",
|
|
@@ -63,6 +63,7 @@ export default function vitest(envOptions) {
|
|
|
63
63
|
"vitest/prefer-hooks-on-top": "error",
|
|
64
64
|
"vitest/prefer-import-in-mock": "error",
|
|
65
65
|
"vitest/prefer-mock-promise-shorthand": "error",
|
|
66
|
+
"vitest/prefer-mock-return-shorthand": "error",
|
|
66
67
|
"vitest/prefer-spy-on": "error",
|
|
67
68
|
"vitest/prefer-strict-equal": "error",
|
|
68
69
|
"vitest/prefer-to-be": "error",
|
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.12",
|
|
4
4
|
"description": "Configuration presets for ESLint and StyleLint",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@babel/eslint-parser": "^7.28.5",
|
|
35
35
|
"@babel/plugin-proposal-decorators": "^7.28.0",
|
|
36
36
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
|
|
37
|
-
"@eslint-react/eslint-plugin": "^2.
|
|
37
|
+
"@eslint-react/eslint-plugin": "^2.5.0",
|
|
38
38
|
"@eslint/compat": "^2.0.0",
|
|
39
39
|
"@eslint/config-helpers": "^0.5.0",
|
|
40
40
|
"@eslint/js": "^9.39.2",
|
|
@@ -44,7 +44,7 @@
|
|
|
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.5",
|
|
48
48
|
"@vue/eslint-config-typescript": "^14.6.0",
|
|
49
49
|
"confusing-browser-globals": "^1.0.11",
|
|
50
50
|
"empathic": "^2.0.0",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"eslint-plugin-codeceptjs": "^1.3.0",
|
|
53
53
|
"eslint-plugin-depend": "^1.4.0",
|
|
54
54
|
"eslint-plugin-eslint-plugin": "^7.2.0",
|
|
55
|
-
"eslint-plugin-jest": "^29.
|
|
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
58
|
"eslint-plugin-jsdoc": "^61.5.0",
|
|
@@ -65,25 +65,25 @@
|
|
|
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
73
|
"postcss-html": "^1.8.0",
|
|
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.51.0"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
82
|
"@types/confusing-browser-globals": "^1.0.3",
|
|
83
83
|
"@types/eslint-scope": "^8.3.2",
|
|
84
84
|
"@types/node": "^25.0.3",
|
|
85
85
|
"@types/react": "^19.2.7",
|
|
86
|
-
"@typescript-eslint/utils": "^8.
|
|
86
|
+
"@typescript-eslint/utils": "^8.51.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": {
|