@open-xchange/linter-presets 1.2.20 → 1.2.22
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 +8 -0
- package/dist/eslint/env/react.js +1 -0
- package/package.json +14 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## `1.2.22` – 2025-Mar-20
|
|
4
|
+
|
|
5
|
+
- chore: bump dependencies
|
|
6
|
+
|
|
7
|
+
## `1.2.21` – 2025-Mar-13
|
|
8
|
+
|
|
9
|
+
- chore: bump dependencies
|
|
10
|
+
|
|
3
11
|
## `1.2.20` – 2025-Mar-07
|
|
4
12
|
|
|
5
13
|
- changed: (ESLint) temporarily disable rule `@eslint-react/prefer-read-only-props` ([eslint-react#962](https://github.com/Rel1cx/eslint-react/issues/962))
|
package/dist/eslint/env/react.js
CHANGED
|
@@ -56,6 +56,7 @@ export default function react(envOptions) {
|
|
|
56
56
|
"@eslint-react/hooks-extra/no-unnecessary-use-callback": "error",
|
|
57
57
|
"@eslint-react/hooks-extra/no-unnecessary-use-memo": "error",
|
|
58
58
|
"@eslint-react/naming-convention/filename-extension": ["error", { allow: "as-needed" }],
|
|
59
|
+
"@eslint-react/naming-convention/use-state": "error",
|
|
59
60
|
},
|
|
60
61
|
}),
|
|
61
62
|
// "react-hooks" plugin
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-xchange/linter-presets",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.22",
|
|
4
4
|
"description": "Configuration presets for ESLint and StyleLint",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
"CHANGELOG.*"
|
|
21
21
|
],
|
|
22
22
|
"scripts": {
|
|
23
|
-
"prepare": "yarn build",
|
|
24
23
|
"prepack": "yarn build && yarn lint && yarn test",
|
|
25
24
|
"clean": "premove dist",
|
|
26
25
|
"build": "yarn clean && tsc --project src/tsconfig.json",
|
|
@@ -28,21 +27,20 @@
|
|
|
28
27
|
"test": "cd test && eslint ."
|
|
29
28
|
},
|
|
30
29
|
"dependencies": {
|
|
31
|
-
"@babel/core": "^7.26.
|
|
32
|
-
"@babel/eslint-parser": "^7.26.
|
|
30
|
+
"@babel/core": "^7.26.10",
|
|
31
|
+
"@babel/eslint-parser": "^7.26.10",
|
|
33
32
|
"@babel/plugin-proposal-decorators": "^7.25.9",
|
|
34
33
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
|
|
35
|
-
"@eslint-react/eslint-plugin": "^1.
|
|
34
|
+
"@eslint-react/eslint-plugin": "^1.36.3",
|
|
36
35
|
"@eslint/compat": "^1.2.7",
|
|
37
|
-
"@eslint/js": "^9.
|
|
38
|
-
"@eslint/markdown": "^6.
|
|
36
|
+
"@eslint/js": "^9.22.0",
|
|
37
|
+
"@eslint/markdown": "^6.3.0",
|
|
39
38
|
"@stylistic/eslint-plugin": "^4.2.0",
|
|
40
39
|
"@stylistic/eslint-plugin-migrate": "^4.2.0",
|
|
41
40
|
"@stylistic/stylelint-config": "^2.0.0",
|
|
42
41
|
"@stylistic/stylelint-plugin": "^3.1.2",
|
|
43
|
-
"@types/css-tree": "^2.3.10",
|
|
44
42
|
"@types/picomatch": "^3.0.2",
|
|
45
|
-
"@vitest/eslint-plugin": "^1.1.
|
|
43
|
+
"@vitest/eslint-plugin": "^1.1.38",
|
|
46
44
|
"confusing-browser-globals": "^1.0.11",
|
|
47
45
|
"eslint-plugin-chai-expect": "^3.1.0",
|
|
48
46
|
"eslint-plugin-codeceptjs": "^1.3.0",
|
|
@@ -51,7 +49,7 @@
|
|
|
51
49
|
"eslint-plugin-jest": "^28.11.0",
|
|
52
50
|
"eslint-plugin-jest-dom": "^5.5.0",
|
|
53
51
|
"eslint-plugin-jest-extended": "^3.0.0",
|
|
54
|
-
"eslint-plugin-jsdoc": "^50.6.
|
|
52
|
+
"eslint-plugin-jsdoc": "^50.6.8",
|
|
55
53
|
"eslint-plugin-jsonc": "^2.19.1",
|
|
56
54
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
57
55
|
"eslint-plugin-license-header": "^0.8.0",
|
|
@@ -72,26 +70,26 @@
|
|
|
72
70
|
"stylelint-config-standard-scss": "^14.0.0",
|
|
73
71
|
"stylelint-config-standard-vue": "^1.0.0",
|
|
74
72
|
"stylelint-plugin-license-header": "^1.0.3",
|
|
75
|
-
"typescript-eslint": "^8.
|
|
73
|
+
"typescript-eslint": "^8.27.0",
|
|
76
74
|
"vue-eslint-parser": "^10.1.1"
|
|
77
75
|
},
|
|
78
76
|
"devDependencies": {
|
|
79
77
|
"@types/confusing-browser-globals": "^1.0.3",
|
|
80
78
|
"@types/eslint-scope": "^3.7.7",
|
|
81
|
-
"@types/react": "^19.0.
|
|
82
|
-
"@typescript-eslint/utils": "^8.
|
|
83
|
-
"eslint": "^9.
|
|
79
|
+
"@types/react": "^19.0.12",
|
|
80
|
+
"@typescript-eslint/utils": "^8.27.0",
|
|
81
|
+
"eslint": "^9.22.0",
|
|
84
82
|
"jest": "^29.7.0",
|
|
85
83
|
"jiti": "^2.4.2",
|
|
86
84
|
"premove": "^4.0.0",
|
|
87
|
-
"stylelint": "^16.
|
|
85
|
+
"stylelint": "^16.16.0",
|
|
88
86
|
"typescript": "^5.8.2"
|
|
89
87
|
},
|
|
90
88
|
"peerDependencies": {
|
|
91
89
|
"eslint": "^9.15.0",
|
|
92
90
|
"jest": "^29.7.0",
|
|
93
91
|
"postcss": "^8.4.0",
|
|
94
|
-
"stylelint": "^16.
|
|
92
|
+
"stylelint": "^16.16.0",
|
|
95
93
|
"typescript": "^5.7.0",
|
|
96
94
|
"vitest": "^2.0.0 || ^3.0.0"
|
|
97
95
|
},
|