@open-xchange/linter-presets 1.2.0 → 1.2.1
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/shared/env-utils.js +1 -1
- package/package.json +6 -5
package/CHANGELOG.md
CHANGED
|
@@ -142,7 +142,7 @@ export function customRules(envOptions, rules) {
|
|
|
142
142
|
* The fixed configuration options.
|
|
143
143
|
*/
|
|
144
144
|
export function fixMissingFilesOption(configs) {
|
|
145
|
-
const files = configs.find(config => config.files)?.files;
|
|
145
|
+
const files = configs.find(config => !!config.files)?.files;
|
|
146
146
|
return files ? configs.map(config => (!config.files && (config.languageOptions || config.rules)) ? { ...config, files } : config) : configs;
|
|
147
147
|
}
|
|
148
148
|
/**
|
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.1",
|
|
4
4
|
"description": "Configuration presets for ESLint and StyleLint",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@babel/eslint-parser": "^7.25.9",
|
|
26
26
|
"@babel/plugin-proposal-decorators": "^7.25.9",
|
|
27
27
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
|
|
28
|
-
"@eslint-react/eslint-plugin": "^1.23.
|
|
28
|
+
"@eslint-react/eslint-plugin": "^1.23.2",
|
|
29
29
|
"@eslint/compat": "^1.2.4",
|
|
30
30
|
"@eslint/js": "^9.17.0",
|
|
31
31
|
"@eslint/markdown": "^6.2.1",
|
|
@@ -62,18 +62,19 @@
|
|
|
62
62
|
"stylelint-config-standard-scss": "^14.0.0",
|
|
63
63
|
"stylelint-config-standard-vue": "^1.0.0",
|
|
64
64
|
"stylelint-plugin-license-header": "^1.0.3",
|
|
65
|
-
"typescript-eslint": "^8.19.
|
|
65
|
+
"typescript-eslint": "^8.19.1",
|
|
66
66
|
"vue-eslint-parser": "^9.4.3"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@types/confusing-browser-globals": "^1.0.3",
|
|
70
70
|
"@types/picomatch": "^3.0.1",
|
|
71
|
-
"@typescript-eslint/utils": "^8.19.
|
|
71
|
+
"@typescript-eslint/utils": "^8.19.1",
|
|
72
|
+
"better-typescript-lib": "^2.10.0",
|
|
72
73
|
"eslint": "^9.17.0",
|
|
73
74
|
"jest": "^29.7.0",
|
|
74
75
|
"premove": "^4.0.0",
|
|
75
76
|
"stylelint": "^16.12.0",
|
|
76
|
-
"typescript": "^5.7.
|
|
77
|
+
"typescript": "^5.7.3"
|
|
77
78
|
},
|
|
78
79
|
"peerDependencies": {
|
|
79
80
|
"eslint": "^9.15.0",
|