Skip to content

Declare rules as JS-only - #426

Merged
screendriver merged 1 commit into
mainfrom
make-rules-js-only
May 22, 2026
Merged

Declare rules as JS-only#426
screendriver merged 1 commit into
mainfrom
make-rules-js-only

Conversation

@lo1tuma

@lo1tuma lo1tuma commented May 22, 2026

Copy link
Copy Markdown
Owner

Summary

  • declare every rule as JS-only with meta.languages: ["js/js"]
  • add a plugin-level test that asserts all rules expose that language metadata
  • make the JS-only behavior explicit instead of letting misconfigured non-JS usage fail later during rule execution

Fixes #390.

Verification

  • npm run eslint
  • npm run test:unit

@lo1tuma lo1tuma added the bug label May 22, 2026
@lo1tuma
lo1tuma requested a review from screendriver May 22, 2026 02:33
Base automatically changed from require-eslint-v10.2.0 to main May 22, 2026 08:14
@screendriver
screendriver enabled auto-merge May 22, 2026 08:16
@screendriver
screendriver merged commit 933b44e into main May 22, 2026
19 of 22 checks passed
@screendriver
screendriver deleted the make-rules-js-only branch May 22, 2026 09:17
lo1tuma pushed a commit that referenced this pull request Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mocha/handle-done-callback fails when linting non-js/non-ts files

2 participants