@trackunit/eslint-plugin-trackunit 0.6.52 → 0.6.55
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 +27 -0
- package/README.md +1 -1
- package/migrations/entry.js +3 -0
- package/migrations.json +3 -0
- package/package.json +2 -1
- package/src/lib/config/index.d.ts +4 -0
- package/src/lib/config/presets/react.d.ts +4 -0
- package/src/lib/config/presets/react.js +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,30 @@
|
|
|
1
|
+
## 0.6.55 (2026-07-02)
|
|
2
|
+
|
|
3
|
+
### 🚀 Features
|
|
4
|
+
|
|
5
|
+
- **migrations:** standard migration scaffold for all publish:npm packages [GLU-1354] ([#24119](https://github.com/Trackunit/manager/pull/24119))
|
|
6
|
+
|
|
7
|
+
### 🧱 Updated Dependencies
|
|
8
|
+
|
|
9
|
+
- Updated shared-utils to 1.15.55
|
|
10
|
+
|
|
11
|
+
### ❤️ Thank You
|
|
12
|
+
|
|
13
|
+
- Cursor @cursoragent
|
|
14
|
+
- Mikkel Thorbjørn Andersen @mta-trackunit
|
|
15
|
+
|
|
16
|
+
## 0.6.54 (2026-07-02)
|
|
17
|
+
|
|
18
|
+
### 🧱 Updated Dependencies
|
|
19
|
+
|
|
20
|
+
- Updated shared-utils to 1.15.54
|
|
21
|
+
|
|
22
|
+
## 0.6.53 (2026-07-02)
|
|
23
|
+
|
|
24
|
+
### 🧱 Updated Dependencies
|
|
25
|
+
|
|
26
|
+
- Updated shared-utils to 1.15.53
|
|
27
|
+
|
|
1
28
|
## 0.6.52 (2026-07-01)
|
|
2
29
|
|
|
3
30
|
### 🧱 Updated Dependencies
|
package/README.md
CHANGED
|
@@ -87,7 +87,7 @@ All custom rules are enabled automatically through the presets under the `@track
|
|
|
87
87
|
|
|
88
88
|
| Rule | Severity | Auto-fix | Description |
|
|
89
89
|
| ----------------------------------------------------- | -------- | -------- | ------------------------------------------------------------------------------------------------------------------- |
|
|
90
|
-
| `@trackunit/require-storybook-folder-landing-page` |
|
|
90
|
+
| `@trackunit/require-storybook-folder-landing-page` | error | no | Requires a `*.docs.mdx` landing page (`<Meta title>`) for every ancestor folder implied by a story's title. Enabled for `*.stories.{ts,tsx}` files in the `react` preset. |
|
|
91
91
|
|
|
92
92
|
## Utilities
|
|
93
93
|
|
package/migrations.json
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/eslint-plugin-trackunit",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.55",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"repository": "https://github.com/Trackunit/manager",
|
|
6
6
|
"engines": {
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
"@typescript-eslint/parser": "^8.58.1",
|
|
29
29
|
"eslint": "^9.33.0"
|
|
30
30
|
},
|
|
31
|
+
"migrations": "./migrations.json",
|
|
31
32
|
"types": "./src/index.d.ts",
|
|
32
33
|
"main": "./src/index.js",
|
|
33
34
|
"type": "commonjs"
|
|
@@ -841,6 +841,7 @@ export declare const configs: {
|
|
|
841
841
|
"@typescript-eslint/no-empty-function"?: undefined;
|
|
842
842
|
"@trackunit/one-component-per-file"?: undefined;
|
|
843
843
|
"@trackunit/component-name-matches-filename"?: undefined;
|
|
844
|
+
"@trackunit/require-storybook-folder-landing-page"?: undefined;
|
|
844
845
|
};
|
|
845
846
|
plugins?: undefined;
|
|
846
847
|
settings?: undefined;
|
|
@@ -853,6 +854,7 @@ export declare const configs: {
|
|
|
853
854
|
"@typescript-eslint/no-empty-function": string;
|
|
854
855
|
"@trackunit/one-component-per-file": string;
|
|
855
856
|
"@trackunit/component-name-matches-filename": string;
|
|
857
|
+
"@trackunit/require-storybook-folder-landing-page": string;
|
|
856
858
|
"no-restricted-properties"?: undefined;
|
|
857
859
|
};
|
|
858
860
|
plugins?: undefined;
|
|
@@ -867,6 +869,7 @@ export declare const configs: {
|
|
|
867
869
|
"jsdoc/require-jsdoc"?: undefined;
|
|
868
870
|
"no-console"?: undefined;
|
|
869
871
|
"@typescript-eslint/no-empty-function"?: undefined;
|
|
872
|
+
"@trackunit/require-storybook-folder-landing-page"?: undefined;
|
|
870
873
|
};
|
|
871
874
|
plugins?: undefined;
|
|
872
875
|
settings?: undefined;
|
|
@@ -944,6 +947,7 @@ export declare const configs: {
|
|
|
944
947
|
"@typescript-eslint/no-empty-function"?: undefined;
|
|
945
948
|
"@trackunit/one-component-per-file"?: undefined;
|
|
946
949
|
"@trackunit/component-name-matches-filename"?: undefined;
|
|
950
|
+
"@trackunit/require-storybook-folder-landing-page"?: undefined;
|
|
947
951
|
"no-restricted-properties"?: undefined;
|
|
948
952
|
};
|
|
949
953
|
settings?: undefined;
|
|
@@ -530,6 +530,7 @@ export declare const reactPreset: (import("eslint").Linter.Config<import("eslint
|
|
|
530
530
|
"@typescript-eslint/no-empty-function"?: undefined;
|
|
531
531
|
"@trackunit/one-component-per-file"?: undefined;
|
|
532
532
|
"@trackunit/component-name-matches-filename"?: undefined;
|
|
533
|
+
"@trackunit/require-storybook-folder-landing-page"?: undefined;
|
|
533
534
|
};
|
|
534
535
|
plugins?: undefined;
|
|
535
536
|
settings?: undefined;
|
|
@@ -542,6 +543,7 @@ export declare const reactPreset: (import("eslint").Linter.Config<import("eslint
|
|
|
542
543
|
"@typescript-eslint/no-empty-function": string;
|
|
543
544
|
"@trackunit/one-component-per-file": string;
|
|
544
545
|
"@trackunit/component-name-matches-filename": string;
|
|
546
|
+
"@trackunit/require-storybook-folder-landing-page": string;
|
|
545
547
|
"no-restricted-properties"?: undefined;
|
|
546
548
|
};
|
|
547
549
|
plugins?: undefined;
|
|
@@ -556,6 +558,7 @@ export declare const reactPreset: (import("eslint").Linter.Config<import("eslint
|
|
|
556
558
|
"jsdoc/require-jsdoc"?: undefined;
|
|
557
559
|
"no-console"?: undefined;
|
|
558
560
|
"@typescript-eslint/no-empty-function"?: undefined;
|
|
561
|
+
"@trackunit/require-storybook-folder-landing-page"?: undefined;
|
|
559
562
|
};
|
|
560
563
|
plugins?: undefined;
|
|
561
564
|
settings?: undefined;
|
|
@@ -633,6 +636,7 @@ export declare const reactPreset: (import("eslint").Linter.Config<import("eslint
|
|
|
633
636
|
"@typescript-eslint/no-empty-function"?: undefined;
|
|
634
637
|
"@trackunit/one-component-per-file"?: undefined;
|
|
635
638
|
"@trackunit/component-name-matches-filename"?: undefined;
|
|
639
|
+
"@trackunit/require-storybook-folder-landing-page"?: undefined;
|
|
636
640
|
"no-restricted-properties"?: undefined;
|
|
637
641
|
};
|
|
638
642
|
settings?: undefined;
|
|
@@ -71,6 +71,9 @@ exports.reactPreset = [
|
|
|
71
71
|
"@typescript-eslint/no-empty-function": "off",
|
|
72
72
|
"@trackunit/one-component-per-file": "off",
|
|
73
73
|
"@trackunit/component-name-matches-filename": "off",
|
|
74
|
+
// Every Storybook folder implied by a story title must have a landing page
|
|
75
|
+
// (*.docs.mdx with a matching <Meta title>). See docs/STORYBOOK-LANDING-PAGES.md.
|
|
76
|
+
"@trackunit/require-storybook-folder-landing-page": "error",
|
|
74
77
|
},
|
|
75
78
|
},
|
|
76
79
|
{
|