@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
- ...commentsPluginConfigs.recommended,
18
- name: 'core.directives.recommended',
19
- };
17
+ }, commentsPluginConfigs.recommended, {
18
+ '@eslint-community/eslint-comments/disable-enable-pair': ['error', { allowWholeFile: true }],
19
+ });
20
20
  }
@@ -60,6 +60,7 @@ export function defineConfig(options, ...configs) {
60
60
  const ignores = [
61
61
  '*/.yarn',
62
62
  'dist',
63
+ 'output',
63
64
  'vite.config.ts.*.mjs',
64
65
  'gitlab-ci',
65
66
  '.gitlab-ci.yml',
@@ -14,6 +14,7 @@ export function defineConfig(options) {
14
14
  const ignoreFiles = [
15
15
  'node_modules/**/*',
16
16
  'dist/**/*',
17
+ 'output/**/*',
17
18
  'coverage/**/*', // Vitest
18
19
  '.nuxt/**/*', // NuxtJS
19
20
  '.output/**/*', // NuxtJS
@@ -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)
@@ -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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-xchange/linter-presets",
3
- "version": "1.18.2",
3
+ "version": "1.18.4",
4
4
  "description": "Configuration presets for ESLint and StyleLint",
5
5
  "repository": {
6
6
  "type": "git",