Skip to content

Commit b34b741

Browse files
Version Packages
1 parent 43183d8 commit b34b741

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

.changeset/lint-rules_single-export-per-file-fusionelement.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

packages/linting/rules/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# @equinor/fusion-framework-lint-rules
22

3+
## 1.0.2
4+
5+
### Patch Changes
6+
7+
- 43183d8: Fixed `single-export-per-file` false positives on the `@fusionElement` custom-element registration pattern:
8+
- Barrel files (`index.ts`, `index.tsx`, `index.mts`, `index.cts`) now stay exempt from the rule even when a repo's config overrides `options.match` — previously only the default (unconfigured) matcher included the barrel exemption.
9+
- A companion top-level `const`/`let` that only parameterizes an `export default class ... {}` (e.g. a `tag` string used by `@fusionElement(tag)`) no longer counts as a competing export.
10+
311
## 1.0.1
412

513
### Patch Changes

packages/linting/rules/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@equinor/fusion-framework-lint-rules",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "Fusion-specific lint rules powered by tree-sitter",
55
"keywords": [
66
"equinor",

0 commit comments

Comments
 (0)