Skip to content

Add an autofix for consistent-interface - #420

Merged
lo1tuma merged 2 commits into
mainfrom
feat/consistent-interface-import-autofix
May 20, 2026
Merged

Add an autofix for consistent-interface#420
lo1tuma merged 2 commits into
mainfrom
feat/consistent-interface-import-autofix

Conversation

@lo1tuma

@lo1tuma lo1tuma commented May 20, 2026

Copy link
Copy Markdown
Owner

Summary

  • add an autofix for direct named mocha interface imports when globals are configured
  • keep alias and mixed default import cases diagnostic-only
  • add coverage for the new import-handling helpers and regenerate docs

Testing

  • npm run eslint -- source/rules/consistent-interface.ts source/rules/consistent-interface.test.ts
  • npm run test:unit -- --grep consistent-interface
  • npm run test:unit:with-coverage
  • npm run update:eslint-docs
  • npm run lint:eslint-docs

@lo1tuma
lo1tuma force-pushed the feat/consistent-interface-import-autofix branch from f83773e to d95d567 Compare May 20, 2026 10:56
@lo1tuma
lo1tuma enabled auto-merge May 20, 2026 10:56
@lo1tuma
lo1tuma merged commit 8d8493e into main May 20, 2026
11 of 12 checks passed
@lo1tuma
lo1tuma deleted the feat/consistent-interface-import-autofix branch May 20, 2026 11:18
lo1tuma added a commit that referenced this pull request Jul 17, 2026
…-autofix

Add an autofix for consistent-interface
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants