mirror of
https://github.com/airbnb/javascript.git
synced 2026-04-25 03:00:19 -04:00
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]: https://github.com/eslint/eslint/pull/4266