@open-xchange/linter-presets 1.18.2 → 1.18.4
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
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## `1.18.4` – 2026-Mar-17
|
|
4
|
+
|
|
5
|
+
- added: (ESLint/StyleLint) ignore top-level 'output' directory
|
|
6
|
+
|
|
7
|
+
## `1.18.3` – 2026-Mar-13
|
|
8
|
+
|
|
9
|
+
- changed: (ESLint) rule `@eslint-community/eslint-comments/disable-enable-pair` allows to disable rules for whole file
|
|
10
|
+
|
|
3
11
|
## `1.18.2` – 2026-Mar-13
|
|
4
12
|
|
|
5
13
|
- fixed: (StyleLint) ignore patterns must point to files, not directories
|
|
@@ -302,7 +310,7 @@
|
|
|
302
310
|
|
|
303
311
|
## `1.2.29` – 2025-Apr-29
|
|
304
312
|
|
|
305
|
-
- added: (ESLint) ignore top-level 'coverage' directory
|
|
313
|
+
- added: (ESLint/StyleLint) ignore top-level 'coverage' directory
|
|
306
314
|
|
|
307
315
|
## `1.2.28` – 2025-Apr-29
|
|
308
316
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import commentsPluginConfigs from '@eslint-community/eslint-plugin-eslint-comments/configs';
|
|
2
|
-
import { SRC_GLOB, VUE_GLOB } from "../shared/env-utils.js";
|
|
2
|
+
import { SRC_GLOB, VUE_GLOB, createConfig } from "../shared/env-utils.js";
|
|
3
3
|
// functions ==================================================================
|
|
4
4
|
/**
|
|
5
5
|
* Checks inline linter directives.
|
|
@@ -12,9 +12,9 @@ import { SRC_GLOB, VUE_GLOB } from "../shared/env-utils.js";
|
|
|
12
12
|
*/
|
|
13
13
|
export default function directives() {
|
|
14
14
|
// register rule implementations and recommended rules
|
|
15
|
-
return {
|
|
15
|
+
return createConfig('core.directives.recommended', {
|
|
16
16
|
files: [...SRC_GLOB, ...VUE_GLOB],
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
};
|
|
17
|
+
}, commentsPluginConfigs.recommended, {
|
|
18
|
+
'@eslint-community/eslint-comments/disable-enable-pair': ['error', { allowWholeFile: true }],
|
|
19
|
+
});
|
|
20
20
|
}
|
package/dist/eslint/index.js
CHANGED
package/dist/stylelint/index.js
CHANGED
package/docs/eslint/README.md
CHANGED
|
@@ -65,6 +65,7 @@ This package defines ignore globs for the following files and directories:
|
|
|
65
65
|
|
|
66
66
|
- `*/.yarn` (internal setup files of Yarn v2+)
|
|
67
67
|
- `dist` (standard build output directory)
|
|
68
|
+
- `output` (output directory for tests etc.)
|
|
68
69
|
- `vite.config.ts.*.mjs` (intermediate files of Vite dev server)
|
|
69
70
|
- `gitlab-ci` and `.gitlab-ci.yml` (GitLab CI configuration files)
|
|
70
71
|
- `coverage` (Vitest coverage results)
|
package/docs/stylelint/README.md
CHANGED
|
@@ -40,6 +40,7 @@ This package defines ignore globs for the following files and directories:
|
|
|
40
40
|
|
|
41
41
|
- `node_modules/**/*`
|
|
42
42
|
- `dist/**/*` (standard build output directory)
|
|
43
|
+
- `output/**/*` (output directory for tests etc.)
|
|
43
44
|
- `coverage/**/*` (Vitest coverage results)
|
|
44
45
|
- `.nuxt/**/*` and `.output/**/*` (NuxtJS output directories)
|
|
45
46
|
|