Skip to content

refactor: Enforce schema option descriptions and align rule docs with auto-generated options blocks#874

Merged
veritem merged 4 commits intovitest-dev:mainfrom
y-hsgw:refactor/fix-require-meta-schema-description
Mar 1, 2026
Merged

refactor: Enforce schema option descriptions and align rule docs with auto-generated options blocks#874
veritem merged 4 commits intovitest-dev:mainfrom
y-hsgw:refactor/fix-require-meta-schema-description

Conversation

@y-hsgw
Copy link
Contributor

@y-hsgw y-hsgw commented Mar 1, 2026

Change Summary

  • Added description fields to meta.schema options across multiple rules in src/rules/* to resolve eslint-plugin/require-meta-schema-description.
  • Removed temporary warning-level overrides in eslint.config.ts for:
    • eslint-plugin/require-meta-default-options
    • eslint-plugin/require-meta-schema-description
    • eslint-plugin/no-meta-schema-default
  • Updated rule docs in docs/rules/* to include auto-generated options block markers:
    • <!-- begin auto-generated rule options list -->
    • <!-- end auto-generated rule options list -->
  • Synced affected Options sections so rule option metadata is reflected consistently.

Copy link
Member

@veritem veritem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

@veritem veritem merged commit e3aab3c into vitest-dev:main Mar 1, 2026
5 checks passed
@y-hsgw y-hsgw deleted the refactor/fix-require-meta-schema-description branch March 1, 2026 23: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.

3 participants