KEMBAR78
Add trailing whitespace fix by gregcline · Pull Request #255 · dotenv-linter/dotenv-linter · GitHub
Skip to content

Conversation

@gregcline
Copy link
Contributor

@gregcline gregcline commented Aug 10, 2020

Add TrailingWhitespaceFixer and included it in the fixlist.

Update unfixed_warnings and multiple_files tests to reflect the new
fix and to use ExtraBlankLine as an unfixed warning example.

✔ Checklist:

  • This PR has been added to CHANGELOG.md (at the top of the list);
  • Tests for the changes have been added (for bug fixes / features);
  • Docs have been added / updated (for bug fixes / features).

Add `TrailingWhitespaceFixer` and included it in the `fixlist`.

Update `unfixed_warnings` and `multiple_files` tests to reflect the new
fix and to use `ExtraBlankLine` as an unfixed warning example.
@gregcline
Copy link
Contributor Author

I'm willing to add something to the docs, but I'm not sure what the vision for that looks like since there isn't a doc for the LowerCaseKey fix yet.

@gregcline gregcline marked this pull request as ready for review August 10, 2020 20:43
@mgrachev mgrachev requested a review from a team August 11, 2020 10:16
Copy link
Member

@mgrachev mgrachev left a comment

Choose a reason for hiding this comment

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

@gregcline 👋 Thank you for your contribution! 🚀

Can you add an additional integration test for this fixer?
For example: https://github.com/dotenv-linter/dotenv-linter/blob/master/tests/fixes/space_character.rs

@mgrachev mgrachev requested a review from a team August 11, 2020 11:18
Copy link
Member

@DDtKey DDtKey left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! 👍

@mgrachev mgrachev merged commit d326dcd into dotenv-linter:master Aug 13, 2020
@mgrachev
Copy link
Member

@gregcline Thank you! 🔥

@DDtKey DDtKey linked an issue Aug 13, 2020 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Add fixer: TrailingWhitespaceFixer

3 participants