Skip to content

chore: version packages - #41

Merged
stevensacks merged 1 commit into
mainfrom
changeset-release/main
Jul 21, 2026
Merged

chore: version packages#41
stevensacks merged 1 commit into
mainfrom
changeset-release/main

Conversation

@stevensacks

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@gaia-react/lint@1.11.0

Minor Changes

  • #40 1ed4f1b Thanks @stevensacks! - Stop ignoring .playwright and .storybook by default, so the playwright and storybook blocks actually run.

    Both directories were bare entries in the ignores defaults. A config object carrying only ignores is a GLOBAL ignore in flat config, and a global ignore beats any later block's files, so the two blocks that scope themselves to those directories were shadowed by the defaults they shipped alongside. playwright scopes itself to .playwright/**/*.ts?(x) and never matched a file; storybook kept its *.stories.* rules (those live outside the directory) but its .storybook/main.* rules never ran. The composed config read as though the directories were covered, and pnpm lint reported zero problems for code nothing had checked.

    The defaults now name only generated output, non-source assets, and tool-owned script directories. A new ignores suite asks ESLint which paths survive the defaults, so a future directory-level entry that shadows a scoped block fails a test instead of shipping.

    playwright/no-skipped-test now runs with allowConditional: true. A bare test.skip() is a test switched off at author time and stays flagged; test.skip(condition, reason) is Playwright's own API for a test that does not apply to the environment it just found, and flagging it would fail lint on the conditional-skip pattern the recommended set never got to see while the block was inert.

    Consumers will see new lint errors on upgrade, in e2e specs and their helpers, in Storybook config and decorators, and in anything else living under those two directories. Most are auto-fixable with --fix. Real findings surface too: playwright/expect-expect and playwright/no-conditional-in-test have been configured but inert. To keep a directory exempt, pass it back explicitly:

    ...lint.ignores({extra: ['.playwright', '.storybook']}),

@stevensacks
stevensacks merged commit 8c6f945 into main Jul 21, 2026
1 check passed
@stevensacks
stevensacks deleted the changeset-release/main branch July 21, 2026 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant