@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 +12 -0
- package/README.md +1 -1
- package/package.json +1 -1
- package/src/lib/config/fragments/react-rules.js +1 -1
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` |
|
|
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
|
@@ -118,7 +118,7 @@ exports.reactCustomRules = {
|
|
|
118
118
|
},
|
|
119
119
|
],
|
|
120
120
|
"@trackunit/prefer-field-components": "error",
|
|
121
|
-
"@trackunit/one-component-per-file": "
|
|
121
|
+
"@trackunit/one-component-per-file": "error",
|
|
122
122
|
"@trackunit/component-name-matches-filename": [
|
|
123
123
|
"warn",
|
|
124
124
|
{
|