@trackunit/eslint-plugin-trackunit 0.6.57 → 0.6.59

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,3 +1,15 @@
1
+ ## 0.6.59 (2026-07-08)
2
+
3
+ ### 🧱 Updated Dependencies
4
+
5
+ - Updated shared-utils to 1.15.59
6
+
7
+ ## 0.6.58 (2026-07-07)
8
+
9
+ ### 🧱 Updated Dependencies
10
+
11
+ - Updated shared-utils to 1.15.58
12
+
1
13
  ## 0.6.57 (2026-07-03)
2
14
 
3
15
  ### 🧱 Updated Dependencies
package/README.md CHANGED
@@ -64,7 +64,7 @@ All custom rules are enabled automatically through the presets under the `@track
64
64
  | `@trackunit/require-optional-prop-initialization` | — | — | Requires optional component props to be initialized inside the component. |
65
65
  | `@trackunit/require-component-prop-contracts` | — | — | Requires public component props to satisfy configured prop/interface contracts. |
66
66
  | `@trackunit/require-list-item-virtualization-props` | — | — | Requires `VirtualizationListItemProps` on list items inside `<List>`. |
67
- | `@trackunit/one-component-per-file` | warn | — | Enforces at most one exported React component per file. `exportedOnly: false` restricts to one total. |
67
+ | `@trackunit/one-component-per-file` | error | — | Enforces at most one exported React component per file. `exportedOnly: false` restricts to one total. |
68
68
  | `@trackunit/component-name-matches-filename` | warn | — | Enforces that exported React component names match the filename (e.g. `Foo` in `Foo.tsx`). |
69
69
 
70
70
  ### Testing
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/eslint-plugin-trackunit",
3
- "version": "0.6.57",
3
+ "version": "0.6.59",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "repository": "https://github.com/Trackunit/manager",
6
6
  "engines": {
@@ -118,7 +118,7 @@ exports.reactCustomRules = {
118
118
  },
119
119
  ],
120
120
  "@trackunit/prefer-field-components": "error",
121
- "@trackunit/one-component-per-file": "warn",
121
+ "@trackunit/one-component-per-file": "error",
122
122
  "@trackunit/component-name-matches-filename": [
123
123
  "warn",
124
124
  {