Repository navigation
[New] consistent-type-specifier-style: support named exports - #3297
Open
ColumbusLabs wants to merge 3 commits into
Open
ColumbusLabs wants to merge 3 commits into
ColumbusLabs wants to merge 3 commits into
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3297 +/- ##
==========================================
+ Coverage 79.59% 79.62% +0.02%
==========================================
Files 98 98
Lines 4549 4619 +70
Branches 1543 1603 +60
==========================================
+ Hits 3621 3678 +57
- Misses 928 941 +13 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Author
|
Gentle ping when you get a chance. The branch is still mergeable; the only red check is the windows-2022 WSL setup step, which looks like a CI infra issue unrelated to this change. Happy to make any changes you'd like. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #3044.
Resubmission of #3277, which became unrecoverable after its fork was deleted (sorry about that). The code is identical to #3277 (the rule, docs, README and tests match its head commit 038eb26 exactly); only the CHANGELOG link now points at this PR instead of the issue.
Extends
consistent-type-specifier-styleto TypeScript named exports (export { type A }vsexport type { A }), applying the configured style the same way it does for imports, with autofix. Docs, README rule list and CHANGELOG updated.Tests:
tests/src/rules/consistent-type-specifier-style.js— 154 passing locally on ESLint 8.57.1 (the earlier PR description said 151; the test file is unchanged from 038eb26);eslintandmarkdownlintclean on the touched files.