Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Add whitespace rule for ExportDeclaration #4554

Merged
merged 1 commit into from Mar 2, 2019

Conversation

devmattrick
Copy link
Contributor

@devmattrick devmattrick commented Feb 28, 2019

PR checklist

Overview of change:

Adds a case to handle ExportDeclaration, to properly lint and fix statements such as:

export { A, B };

CHANGELOG.md entry:

[bugfix] Lint export statements with whitespace rule

@devmattrick devmattrick changed the title Add whitespace rule for ExportDeclaration (fixes #4014) Add whitespace rule for ExportDeclaration Feb 28, 2019
Copy link
Contributor

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

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

Looks great, thanks!

Although TSLint is moving away from whitespace rules, the presense of an auto-fixer and the issue already having been marked as Status: Accepting PRs makes this seem reasonable.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing whitespace around export statement with "check-module" argument
2 participants