@trackunit/eslint-plugin-trackunit 0.6.118 → 0.6.119-alpha-62031fc7c43.0

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,10 +1,3 @@
1
- ## 0.6.118 (2026-08-25)
2
-
3
- ### 🧱 Updated Dependencies
4
-
5
- - Updated css-classname-utils to 0.0.21
6
- - Updated shared-utils to 1.16.21
7
-
8
1
  ## 0.6.117 (2026-08-20)
9
2
 
10
3
  ### 🩹 Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/eslint-plugin-trackunit",
3
- "version": "0.6.118",
3
+ "version": "0.6.119-alpha-62031fc7c43.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "repository": "https://github.com/Trackunit/manager",
6
6
  "engines": {
@@ -8,7 +8,7 @@
8
8
  },
9
9
  "dependencies": {
10
10
  "@nx/eslint-plugin": "23.1.0",
11
- "@trackunit/css-classname-utils": "0.0.21",
11
+ "@trackunit/css-classname-utils": "0.0.22-alpha-62031fc7c43.0",
12
12
  "@typescript-eslint/eslint-plugin": "8.58.1",
13
13
  "@typescript-eslint/utils": "8.58.1",
14
14
  "eslint-config-prettier": "^10.1.8",
@@ -11,7 +11,6 @@ exports.importRules = {
11
11
  },
12
12
  ],
13
13
  "import-x/first": "off",
14
- "import-x/no-default-export": "warn",
15
14
  };
16
15
  const createImportExtraneousDependenciesConfig = (rootDir) => (0, create_skip_when_1.createSkipWhen)({
17
16
  when: { tags: ["scope:tool"] },
@@ -5,8 +5,8 @@ const plugins_1 = require("../plugins");
5
5
  exports.baseJestOverrides = {
6
6
  files: ["**/*.spec.ts", "**/*.spec.tsx"],
7
7
  languageOptions: {
8
- ecmaVersion: 2022,
9
- sourceType: "module",
8
+ ecmaVersion: 5,
9
+ sourceType: "script",
10
10
  parserOptions: {
11
11
  project: ["./tsconfig.*?.json"],
12
12
  },
@@ -149,7 +149,6 @@ export declare const configs: {
149
149
  "@trackunit/no-unused-translation-key"?: undefined;
150
150
  "@typescript-eslint/no-require-imports"?: undefined;
151
151
  "@nx/enforce-module-boundaries"?: undefined;
152
- "import-x/no-default-export"?: undefined;
153
152
  };
154
153
  files?: undefined;
155
154
  languageOptions?: undefined;
@@ -196,7 +195,6 @@ export declare const configs: {
196
195
  "@trackunit/no-unused-translation-key"?: undefined;
197
196
  "@typescript-eslint/no-require-imports"?: undefined;
198
197
  "@nx/enforce-module-boundaries"?: undefined;
199
- "import-x/no-default-export"?: undefined;
200
198
  };
201
199
  plugins?: undefined;
202
200
  } | {
@@ -318,7 +316,6 @@ export declare const configs: {
318
316
  "@trackunit/no-unused-translation-key"?: undefined;
319
317
  "@typescript-eslint/no-require-imports"?: undefined;
320
318
  "@nx/enforce-module-boundaries"?: undefined;
321
- "import-x/no-default-export"?: undefined;
322
319
  };
323
320
  } | {
324
321
  files: string[];
@@ -439,7 +436,6 @@ export declare const configs: {
439
436
  "@trackunit/no-deprecated-graphql-fields"?: undefined;
440
437
  "@typescript-eslint/no-require-imports"?: undefined;
441
438
  "@nx/enforce-module-boundaries"?: undefined;
442
- "import-x/no-default-export"?: undefined;
443
439
  };
444
440
  } | {
445
441
  files: string[];
@@ -449,7 +445,6 @@ export declare const configs: {
449
445
  "@trackunit/no-deprecated-graphql-fields"?: undefined;
450
446
  "@trackunit/no-unused-translation-key"?: undefined;
451
447
  "@nx/enforce-module-boundaries"?: undefined;
452
- "import-x/no-default-export"?: undefined;
453
448
  };
454
449
  plugins?: undefined;
455
450
  languageOptions?: undefined;
@@ -461,19 +456,6 @@ export declare const configs: {
461
456
  "@trackunit/no-deprecated-graphql-fields"?: undefined;
462
457
  "@trackunit/no-unused-translation-key"?: undefined;
463
458
  "@typescript-eslint/no-require-imports"?: undefined;
464
- "import-x/no-default-export"?: undefined;
465
- };
466
- plugins?: undefined;
467
- languageOptions?: undefined;
468
- } | {
469
- files: string[];
470
- rules: {
471
- "import-x/no-default-export": string;
472
- "@trackunit/no-internal-graphql-when-tagged-with-gql-public"?: undefined;
473
- "@trackunit/no-deprecated-graphql-fields"?: undefined;
474
- "@trackunit/no-unused-translation-key"?: undefined;
475
- "@typescript-eslint/no-require-imports"?: undefined;
476
- "@nx/enforce-module-boundaries"?: undefined;
477
459
  };
478
460
  plugins?: undefined;
479
461
  languageOptions?: undefined;
@@ -149,7 +149,6 @@ export declare const base: (import("eslint").Linter.FlatConfig<import("eslint").
149
149
  "@trackunit/no-unused-translation-key"?: undefined;
150
150
  "@typescript-eslint/no-require-imports"?: undefined;
151
151
  "@nx/enforce-module-boundaries"?: undefined;
152
- "import-x/no-default-export"?: undefined;
153
152
  };
154
153
  files?: undefined;
155
154
  languageOptions?: undefined;
@@ -196,7 +195,6 @@ export declare const base: (import("eslint").Linter.FlatConfig<import("eslint").
196
195
  "@trackunit/no-unused-translation-key"?: undefined;
197
196
  "@typescript-eslint/no-require-imports"?: undefined;
198
197
  "@nx/enforce-module-boundaries"?: undefined;
199
- "import-x/no-default-export"?: undefined;
200
198
  };
201
199
  plugins?: undefined;
202
200
  } | {
@@ -318,7 +316,6 @@ export declare const base: (import("eslint").Linter.FlatConfig<import("eslint").
318
316
  "@trackunit/no-unused-translation-key"?: undefined;
319
317
  "@typescript-eslint/no-require-imports"?: undefined;
320
318
  "@nx/enforce-module-boundaries"?: undefined;
321
- "import-x/no-default-export"?: undefined;
322
319
  };
323
320
  } | {
324
321
  files: string[];
@@ -439,7 +436,6 @@ export declare const base: (import("eslint").Linter.FlatConfig<import("eslint").
439
436
  "@trackunit/no-deprecated-graphql-fields"?: undefined;
440
437
  "@typescript-eslint/no-require-imports"?: undefined;
441
438
  "@nx/enforce-module-boundaries"?: undefined;
442
- "import-x/no-default-export"?: undefined;
443
439
  };
444
440
  } | {
445
441
  files: string[];
@@ -449,7 +445,6 @@ export declare const base: (import("eslint").Linter.FlatConfig<import("eslint").
449
445
  "@trackunit/no-deprecated-graphql-fields"?: undefined;
450
446
  "@trackunit/no-unused-translation-key"?: undefined;
451
447
  "@nx/enforce-module-boundaries"?: undefined;
452
- "import-x/no-default-export"?: undefined;
453
448
  };
454
449
  plugins?: undefined;
455
450
  languageOptions?: undefined;
@@ -461,19 +456,6 @@ export declare const base: (import("eslint").Linter.FlatConfig<import("eslint").
461
456
  "@trackunit/no-deprecated-graphql-fields"?: undefined;
462
457
  "@trackunit/no-unused-translation-key"?: undefined;
463
458
  "@typescript-eslint/no-require-imports"?: undefined;
464
- "import-x/no-default-export"?: undefined;
465
- };
466
- plugins?: undefined;
467
- languageOptions?: undefined;
468
- } | {
469
- files: string[];
470
- rules: {
471
- "import-x/no-default-export": string;
472
- "@trackunit/no-internal-graphql-when-tagged-with-gql-public"?: undefined;
473
- "@trackunit/no-deprecated-graphql-fields"?: undefined;
474
- "@trackunit/no-unused-translation-key"?: undefined;
475
- "@typescript-eslint/no-require-imports"?: undefined;
476
- "@nx/enforce-module-boundaries"?: undefined;
477
459
  };
478
460
  plugins?: undefined;
479
461
  languageOptions?: undefined;
@@ -73,8 +73,8 @@ exports.base = [
73
73
  {
74
74
  files: ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"],
75
75
  languageOptions: {
76
- ecmaVersion: 2022,
77
- sourceType: "module",
76
+ ecmaVersion: 5,
77
+ sourceType: "script",
78
78
  parser: plugins_1.tsParser,
79
79
  parserOptions: {
80
80
  project: ["./tsconfig.*?.json"],
@@ -165,34 +165,5 @@ exports.base = [
165
165
  "@nx/enforce-module-boundaries": "off",
166
166
  },
167
167
  },
168
- {
169
- // Files that legitimately require a default export and cannot be converted:
170
- // - Storybook CSF (meta object), demo files and .storybook config
171
- // - tool config files (only these *.config.* names carry a default export) and GraphQL codegen
172
- // - Nx generators/executors and migration codemods (Nx loads them via the default export,
173
- // except entries whose implementation string carries a #namedExport suffix)
174
- // - iris-app manifests and framework entry points loaded via their default export
175
- files: [
176
- "**/*.stories.{ts,tsx,js,jsx}",
177
- "**/*.demo.{ts,tsx,js,jsx}",
178
- "**/.storybook/**/*.{ts,tsx}",
179
- "**/vite.config.{ts,js}",
180
- "**/vitest.config.{ts,js}",
181
- "**/jest.config.{ts,js}",
182
- "**/playwright.config.{ts,js}",
183
- "**/codegen.ts",
184
- "**/generators/**/generator.ts",
185
- "**/executors/**/executor.ts",
186
- "**/migrations/v[0-9]*/**/*.{ts,tsx}",
187
- "**/extension-manifest.ts",
188
- "**/iris-app-manifest.ts",
189
- "**/iris-app-playwright/src/plugins/logsReporter.ts",
190
- "**/react/test-setup/src/preset.ts",
191
- "**/react/vite-test-setup/src/preset.ts",
192
- ],
193
- rules: {
194
- "import-x/no-default-export": "off",
195
- },
196
- },
197
168
  ];
198
169
  //# sourceMappingURL=base.js.map
@@ -31,7 +31,7 @@ exports.reactPreset = [
31
31
  },
32
32
  parser: plugins_1.tsParser,
33
33
  ecmaVersion: 2022,
34
- sourceType: "module",
34
+ sourceType: "commonjs",
35
35
  parserOptions: {
36
36
  ecmaFeatures: {
37
37
  jsx: true,