@open-xchange/linter-presets 1.7.4 → 1.7.6
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/stylistic.js +0 -8
- package/dist/eslint/env/eslint.js +1 -4
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## `1.7.6` – 2025-Aug-10
|
|
4
|
+
|
|
5
|
+
- chore: bump dependencies
|
|
6
|
+
- fixed: (ESLint) enable rule `@stylistic/indent` for jsx/tsx files
|
|
7
|
+
|
|
8
|
+
## `1.7.5` – 2025-Aug-07
|
|
9
|
+
|
|
10
|
+
- chore: bump dependencies
|
|
11
|
+
|
|
3
12
|
## `1.7.4` – 2025-Aug-01
|
|
4
13
|
|
|
5
14
|
- chore: bump typescript
|
|
@@ -117,13 +117,5 @@ export default function stylistic(stylisticConfig) {
|
|
|
117
117
|
"@stylistic/migrate/migrate-jsx": "error",
|
|
118
118
|
},
|
|
119
119
|
},
|
|
120
|
-
// disable "@stylistic/indent" rule in jsx/tsx (https://github.com/eslint-stylistic/eslint-stylistic/issues/915)
|
|
121
|
-
{
|
|
122
|
-
name: "core.stylistic.fix",
|
|
123
|
-
files: ["**/*.{jsx,tsx}"],
|
|
124
|
-
rules: {
|
|
125
|
-
"@stylistic/indent": "off",
|
|
126
|
-
},
|
|
127
|
-
},
|
|
128
120
|
];
|
|
129
121
|
}
|
|
@@ -16,16 +16,13 @@ import { createConfig, customRules } from "../shared/env-utils.js";
|
|
|
16
16
|
export default function eslint(envOptions) {
|
|
17
17
|
return [
|
|
18
18
|
// register rule implementations and recommended rules
|
|
19
|
-
createConfig("env.eslint.recommended", envOptions, eslintPlugin.configs["
|
|
19
|
+
createConfig("env.eslint.recommended", envOptions, eslintPlugin.configs["rules-recommended"]),
|
|
20
20
|
// custom rules
|
|
21
21
|
customRules("env.eslint.rules", envOptions, {
|
|
22
|
-
"eslint-plugin/no-meta-schema-default": "error",
|
|
23
22
|
"eslint-plugin/no-property-in-node": "error",
|
|
24
23
|
"eslint-plugin/prefer-placeholders": "error",
|
|
25
24
|
"eslint-plugin/prefer-replace-text": "error",
|
|
26
|
-
"eslint-plugin/require-meta-default-options": "error",
|
|
27
25
|
"eslint-plugin/require-meta-docs-description": "error",
|
|
28
|
-
"eslint-plugin/require-meta-schema-description": "error",
|
|
29
26
|
}),
|
|
30
27
|
];
|
|
31
28
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-xchange/linter-presets",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.6",
|
|
4
4
|
"description": "Configuration presets for ESLint and StyleLint",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -35,11 +35,11 @@
|
|
|
35
35
|
"@babel/plugin-proposal-decorators": "^7.28.0",
|
|
36
36
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
|
|
37
37
|
"@eslint-react/eslint-plugin": "^1.52.3",
|
|
38
|
-
"@eslint/compat": "^1.3.
|
|
39
|
-
"@eslint/config-helpers": "^0.3.
|
|
40
|
-
"@eslint/js": "^9.
|
|
38
|
+
"@eslint/compat": "^1.3.2",
|
|
39
|
+
"@eslint/config-helpers": "^0.3.1",
|
|
40
|
+
"@eslint/js": "^9.33.0",
|
|
41
41
|
"@eslint/markdown": "^7.1.0",
|
|
42
|
-
"@stylistic/eslint-plugin": "^5.2.
|
|
42
|
+
"@stylistic/eslint-plugin": "^5.2.3",
|
|
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",
|
|
@@ -50,11 +50,11 @@
|
|
|
50
50
|
"eslint-plugin-chai-expect": "^3.1.0",
|
|
51
51
|
"eslint-plugin-codeceptjs": "^1.3.0",
|
|
52
52
|
"eslint-plugin-depend": "^1.2.0",
|
|
53
|
-
"eslint-plugin-eslint-plugin": "^
|
|
53
|
+
"eslint-plugin-eslint-plugin": "^7.0.0",
|
|
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": "^52.0.
|
|
57
|
+
"eslint-plugin-jsdoc": "^52.0.4",
|
|
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",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
64
64
|
"eslint-plugin-react-hooks-static-deps": "^1.0.7",
|
|
65
65
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
66
|
-
"eslint-plugin-regexp": "^2.
|
|
66
|
+
"eslint-plugin-regexp": "^2.10.0",
|
|
67
67
|
"eslint-plugin-testing-library": "^7.6.3",
|
|
68
68
|
"eslint-plugin-vue": "^10.4.0",
|
|
69
69
|
"eslint-plugin-yml": "^1.18.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.39.0",
|
|
79
79
|
"vue-eslint-parser": "^10.2.0"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
82
|
"@types/confusing-browser-globals": "^1.0.3",
|
|
83
|
-
"@types/eslint-scope": "^8.3.
|
|
84
|
-
"@types/node": "^24.1
|
|
83
|
+
"@types/eslint-scope": "^8.3.2",
|
|
84
|
+
"@types/node": "^24.2.1",
|
|
85
85
|
"@types/react": "^19.1.9",
|
|
86
|
-
"@typescript-eslint/utils": "^8.
|
|
87
|
-
"eslint": "^9.
|
|
86
|
+
"@typescript-eslint/utils": "^8.39.0",
|
|
87
|
+
"eslint": "^9.33.0",
|
|
88
88
|
"jest": "^30.0.5",
|
|
89
89
|
"jiti": "^2.5.1",
|
|
90
90
|
"premove": "^4.0.0",
|
|
91
|
-
"stylelint": "^16.23.
|
|
91
|
+
"stylelint": "^16.23.1",
|
|
92
92
|
"ts-patch": "^3.3.0",
|
|
93
93
|
"typescript": "^5.9.2",
|
|
94
94
|
"typescript-transform-paths": "^3.5.5"
|