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

[eslint] Enforce rule 18.5 #578

Merged
merged 1 commit into from
Nov 11, 2015
Merged

Conversation

adrienverge
Copy link
Contributor

Rule 18.5 states that files shall end with a single newline
character. Until now, this was not checked because there was no such
option in eslint.

Since version 1.8.0, eslint provides the ability to do that. See pull
request on eslint
for details on implementation and usage. Let's use
it in airbnb eslint plugin now!

Rule 18.5 [1] states that files shall end with a single newline
character. Until now, this was not checked because there was no such
option in eslint.

Since version 1.8.0, eslint provides the ability to do that. See pull
request on eslint [2] for details on implementation and usage. Let's use
it in airbnb eslint plugin now!

[1]: https://github.com/airbnb/javascript#18.5
[2]: eslint/eslint#4266
@ljharb
Copy link
Collaborator

ljharb commented Nov 11, 2015

LGTM 👍

justjake added a commit that referenced this pull request Nov 11, 2015
@justjake justjake merged commit 60480c0 into airbnb:master Nov 11, 2015
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.

3 participants