@open-xchange/linter-presets 1.16.1 → 1.16.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/CHANGELOG.md +4 -0
- package/dist/eslint/env/react.js +2 -2
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
package/dist/eslint/env/react.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import reactPlugin from "@eslint-react/eslint-plugin";
|
|
2
2
|
import reactHooksPlugin from "eslint-plugin-react-hooks";
|
|
3
|
-
import
|
|
3
|
+
import { reactRefresh } from "eslint-plugin-react-refresh";
|
|
4
4
|
import jsxA11yPlugin from "eslint-plugin-jsx-a11y";
|
|
5
5
|
import { parser } from "typescript-eslint";
|
|
6
6
|
import { createConfig, customRules, convertRuleWarningsToErrors } from "../shared/env-utils.js";
|
|
@@ -65,7 +65,7 @@ export default function react(envOptions) {
|
|
|
65
65
|
// "react-hooks" plugin and recommended rules, raise all recommended rules to "error" level
|
|
66
66
|
createConfig("env.react.react-hooks", envOptions, convertRuleWarningsToErrors(reactHooksPlugin.configs.flat.recommended)),
|
|
67
67
|
// "react-refresh" plugin
|
|
68
|
-
createConfig("env.react.react-refresh", envOptions,
|
|
68
|
+
createConfig("env.react.react-refresh", envOptions, reactRefresh.configs.vite()),
|
|
69
69
|
// "jsx-a11y" plugin
|
|
70
70
|
createConfig("env.react.jsx-a11y", envOptions, jsxA11yPlugin.flatConfigs.recommended),
|
|
71
71
|
// custom rules
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-xchange/linter-presets",
|
|
3
|
-
"version": "1.16.
|
|
3
|
+
"version": "1.16.2",
|
|
4
4
|
"description": "Configuration presets for ESLint and StyleLint",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -30,13 +30,13 @@
|
|
|
30
30
|
"test": "cd test && eslint . && stylelint \"**/*.{css,scss}\""
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@babel/core": "^7.
|
|
33
|
+
"@babel/core": "^7.29.0",
|
|
34
34
|
"@babel/eslint-parser": "^7.28.6",
|
|
35
|
-
"@babel/plugin-proposal-decorators": "^7.
|
|
35
|
+
"@babel/plugin-proposal-decorators": "^7.29.0",
|
|
36
36
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.6.0",
|
|
37
|
-
"@eslint-react/eslint-plugin": "^2.
|
|
38
|
-
"@eslint/compat": "^2.0.
|
|
39
|
-
"@eslint/config-helpers": "^0.5.
|
|
37
|
+
"@eslint-react/eslint-plugin": "^2.9.4",
|
|
38
|
+
"@eslint/compat": "^2.0.2",
|
|
39
|
+
"@eslint/config-helpers": "^0.5.2",
|
|
40
40
|
"@eslint/js": "^9.39.2",
|
|
41
41
|
"@eslint/markdown": "^7.5.1",
|
|
42
42
|
"@stylistic/eslint-plugin": "^5.7.1",
|
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
"eslint-plugin-codeceptjs": "^1.3.0",
|
|
53
53
|
"eslint-plugin-depend": "^1.4.0",
|
|
54
54
|
"eslint-plugin-eslint-plugin": "^7.3.0",
|
|
55
|
-
"eslint-plugin-jest": "^29.12.
|
|
55
|
+
"eslint-plugin-jest": "^29.12.2",
|
|
56
56
|
"eslint-plugin-jest-dom": "^5.5.0",
|
|
57
57
|
"eslint-plugin-jest-extended": "^3.0.1",
|
|
58
|
-
"eslint-plugin-jsdoc": "^62.
|
|
58
|
+
"eslint-plugin-jsdoc": "^62.5.1",
|
|
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",
|
|
@@ -63,12 +63,12 @@
|
|
|
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
|
-
"eslint-plugin-react-refresh": "^0.
|
|
66
|
+
"eslint-plugin-react-refresh": "^0.5.0",
|
|
67
67
|
"eslint-plugin-regexp": "^3.0.0",
|
|
68
68
|
"eslint-plugin-testing-library": "^7.15.4",
|
|
69
69
|
"eslint-plugin-vue": "^10.7.0",
|
|
70
70
|
"eslint-plugin-yml": "^3.0.0",
|
|
71
|
-
"globals": "^17.
|
|
71
|
+
"globals": "^17.3.0",
|
|
72
72
|
"picomatch": "^4.0.3",
|
|
73
73
|
"postcss-html": "^1.8.1",
|
|
74
74
|
"stylelint-config-standard": "^40.0.0",
|
|
@@ -81,14 +81,14 @@
|
|
|
81
81
|
"devDependencies": {
|
|
82
82
|
"@types/confusing-browser-globals": "^1.0.3",
|
|
83
83
|
"@types/eslint-scope": "^8.4.0",
|
|
84
|
-
"@types/node": "^25.
|
|
85
|
-
"@types/react": "^19.2.
|
|
84
|
+
"@types/node": "^25.2.0",
|
|
85
|
+
"@types/react": "^19.2.11",
|
|
86
86
|
"@typescript-eslint/utils": "^8.54.0",
|
|
87
87
|
"eslint": "^9.39.2",
|
|
88
88
|
"jest": "^30.2.0",
|
|
89
89
|
"jiti": "^2.6.1",
|
|
90
90
|
"premove": "^4.0.0",
|
|
91
|
-
"stylelint": "^17.
|
|
91
|
+
"stylelint": "^17.1.1",
|
|
92
92
|
"ts-patch": "^3.3.0",
|
|
93
93
|
"typescript": "^5.9.3",
|
|
94
94
|
"typescript-transform-paths": "^3.5.6",
|