Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(basic): disallow multi empty lines at the end of file #137

Merged
merged 1 commit into from Dec 12, 2022

Conversation

zanminkian
Copy link
Contributor

@zanminkian zanminkian commented Dec 5, 2022

require('eslint')
// empty line
// empty line

Files that have multi empty lines at the end should throw error when linting.
But it doesn't work actually.
This PR Fix this problem.
See eslint/eslint#12742 (comment)

@antfu antfu merged commit 4d38bd0 into antfu:main Dec 12, 2022
@zanminkian zanminkian deleted the zmj-fix-empty-line branch December 16, 2022 03:39
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.

None yet

2 participants