@open-xchange/linter-presets 1.8.0 → 1.9.0
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/jsdoc.js +7 -11
- package/dist/utils/utils.d.ts +1 -1
- package/dist/utils/utils.js +1 -1
- package/package.json +18 -18
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## `1.9.0` – 2025-Sep-09
|
|
4
|
+
|
|
5
|
+
- chore: bump `eslint-plugin-jsdoc` to v55.0.3
|
|
6
|
+
- chore: bump dependencies
|
|
7
|
+
|
|
8
|
+
## `1.8.1` – 2025-Sep-04
|
|
9
|
+
|
|
10
|
+
- chore: bump dependencies
|
|
11
|
+
|
|
3
12
|
## `1.8.0` – 2025-Aug-21
|
|
4
13
|
|
|
5
14
|
- added: (ESLint) support "basePath" option in environment presets
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import jsdocPlugin from "eslint-plugin-jsdoc";
|
|
1
|
+
import { jsdoc as jsdocPlugin } from "eslint-plugin-jsdoc";
|
|
2
2
|
import { TS_GLOB, SRC_GLOB } from "../shared/env-utils.js";
|
|
3
3
|
// functions ==================================================================
|
|
4
4
|
/**
|
|
@@ -15,14 +15,9 @@ export default function jsdoc() {
|
|
|
15
15
|
// register rule implementations and recommended rules
|
|
16
16
|
{
|
|
17
17
|
files: SRC_GLOB,
|
|
18
|
-
...jsdocPlugin
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
// general configuration
|
|
22
|
-
{
|
|
23
|
-
name: "core.jsdoc.settings",
|
|
24
|
-
settings: {
|
|
25
|
-
jsdoc: {
|
|
18
|
+
...jsdocPlugin({
|
|
19
|
+
config: "flat/recommended-error",
|
|
20
|
+
settings: {
|
|
26
21
|
tagNamePreference: {
|
|
27
22
|
// disallowed tags for ES6 keywords `const`, `class`, `extends`
|
|
28
23
|
augments: false,
|
|
@@ -33,14 +28,15 @@ export default function jsdoc() {
|
|
|
33
28
|
extends: false,
|
|
34
29
|
},
|
|
35
30
|
},
|
|
36
|
-
},
|
|
31
|
+
}),
|
|
32
|
+
name: "core.jsdoc.recommended",
|
|
37
33
|
},
|
|
38
34
|
// overrides for TypeScript files
|
|
39
35
|
{
|
|
40
36
|
name: "core.jsdoc.typescript",
|
|
41
37
|
files: TS_GLOB,
|
|
42
38
|
rules: {
|
|
43
|
-
...jsdocPlugin
|
|
39
|
+
...jsdocPlugin({ config: "flat/recommended-typescript-error" }).rules,
|
|
44
40
|
"jsdoc/check-param-names": ["error", { allowExtraTrailingParamDocs: true }], // overload signatures
|
|
45
41
|
},
|
|
46
42
|
},
|
package/dist/utils/utils.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export type DeepOptArray<T> = T | false | null | undefined | ReadonlyArray<DeepO
|
|
|
12
12
|
* @param arrays
|
|
13
13
|
* The deeply nested arrays to be visited.
|
|
14
14
|
*
|
|
15
|
-
* @yields
|
|
15
|
+
* @yields {T}
|
|
16
16
|
* The truthy array elements.
|
|
17
17
|
*/
|
|
18
18
|
export declare function yieldDeepArrays<T>(...arrays: Array<DeepOptArray<T>>): IterableIterator<T>;
|
package/dist/utils/utils.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-xchange/linter-presets",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"description": "Configuration presets for ESLint and StyleLint",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"engines": {
|
|
12
12
|
"node": ">=20.18"
|
|
13
13
|
},
|
|
14
|
-
"packageManager": "yarn@4.9.
|
|
14
|
+
"packageManager": "yarn@4.9.4",
|
|
15
15
|
"type": "module",
|
|
16
16
|
"exports": {
|
|
17
17
|
"./eslint": "./dist/eslint/index.js",
|
|
@@ -30,21 +30,21 @@
|
|
|
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.
|
|
33
|
+
"@babel/core": "^7.28.4",
|
|
34
|
+
"@babel/eslint-parser": "^7.28.4",
|
|
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": "^1.
|
|
37
|
+
"@eslint-react/eslint-plugin": "^1.53.0",
|
|
38
38
|
"@eslint/compat": "^1.3.2",
|
|
39
39
|
"@eslint/config-helpers": "^0.3.1",
|
|
40
|
-
"@eslint/js": "^9.
|
|
41
|
-
"@eslint/markdown": "^7.
|
|
42
|
-
"@stylistic/eslint-plugin": "^5.
|
|
40
|
+
"@eslint/js": "^9.35.0",
|
|
41
|
+
"@eslint/markdown": "^7.2.0",
|
|
42
|
+
"@stylistic/eslint-plugin": "^5.3.1",
|
|
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.3.
|
|
47
|
+
"@vitest/eslint-plugin": "^1.3.9",
|
|
48
48
|
"confusing-browser-globals": "^1.0.11",
|
|
49
49
|
"empathic": "^2.0.0",
|
|
50
50
|
"eslint-plugin-chai-expect": "^3.1.0",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"eslint-plugin-jest": "^29.0.1",
|
|
55
55
|
"eslint-plugin-jest-dom": "^5.5.0",
|
|
56
56
|
"eslint-plugin-jest-extended": "^3.0.0",
|
|
57
|
-
"eslint-plugin-jsdoc": "^
|
|
57
|
+
"eslint-plugin-jsdoc": "^55.0.3",
|
|
58
58
|
"eslint-plugin-jsonc": "^2.20.1",
|
|
59
59
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
60
60
|
"eslint-plugin-license-header": "^0.8.0",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"eslint-plugin-react-hooks-static-deps": "^1.0.7",
|
|
65
65
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
66
66
|
"eslint-plugin-regexp": "^2.10.0",
|
|
67
|
-
"eslint-plugin-testing-library": "^7.6.
|
|
67
|
+
"eslint-plugin-testing-library": "^7.6.8",
|
|
68
68
|
"eslint-plugin-vue": "^10.4.0",
|
|
69
69
|
"eslint-plugin-yml": "^1.18.0",
|
|
70
70
|
"globals": "^16.3.0",
|
|
@@ -75,20 +75,20 @@
|
|
|
75
75
|
"stylelint-config-standard-scss": "^15.0.1",
|
|
76
76
|
"stylelint-config-standard-vue": "^1.0.0",
|
|
77
77
|
"stylelint-plugin-license-header": "^1.0.3",
|
|
78
|
-
"typescript-eslint": "^8.
|
|
78
|
+
"typescript-eslint": "^8.43.0",
|
|
79
79
|
"vue-eslint-parser": "^10.2.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": "^24.3.
|
|
85
|
-
"@types/react": "^19.1.
|
|
86
|
-
"@typescript-eslint/utils": "^8.
|
|
87
|
-
"eslint": "^9.
|
|
88
|
-
"jest": "^30.
|
|
84
|
+
"@types/node": "^24.3.1",
|
|
85
|
+
"@types/react": "^19.1.12",
|
|
86
|
+
"@typescript-eslint/utils": "^8.43.0",
|
|
87
|
+
"eslint": "^9.35.0",
|
|
88
|
+
"jest": "^30.1.3",
|
|
89
89
|
"jiti": "^2.5.1",
|
|
90
90
|
"premove": "^4.0.0",
|
|
91
|
-
"stylelint": "^16.
|
|
91
|
+
"stylelint": "^16.24.0",
|
|
92
92
|
"ts-patch": "^3.3.0",
|
|
93
93
|
"typescript": "^5.9.2",
|
|
94
94
|
"typescript-transform-paths": "^3.5.5"
|