KEMBAR78
Add detection for quote characters in values by sourabhmarathe · Pull Request #174 · dotenv-linter/dotenv-linter · GitHub
Skip to content

Conversation

sourabhmarathe
Copy link
Contributor

@sourabhmarathe sourabhmarathe commented May 3, 2020

Added a new checker for quote characters. Includes tests for values with single and double quotes, and correct case.

✔ Checklist:

  • Tests for the changes have been added (for bug fixes / features);
  • Docs have been added / updated (for bug fixes / features).

@codecov-io
Copy link

codecov-io commented May 3, 2020

Codecov Report

Merging #174 into master will decrease coverage by 0.07%.
The diff coverage is 97.16%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #174      +/-   ##
==========================================
- Coverage   97.86%   97.78%   -0.08%     
==========================================
  Files          11       12       +1     
  Lines         844      950     +106     
==========================================
+ Hits          826      929     +103     
- Misses         18       21       +3     
Impacted Files Coverage Δ
src/checks/quote_character.rs 95.23% <95.23%> (ø)
src/checks.rs 100.00% <100.00%> (ø)
src/common.rs 97.07% <100.00%> (+0.95%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 354095c...db22c29. Read the comment docs.

@mgrachev
Copy link
Member

mgrachev commented May 4, 2020

@sourabhmarathe 👋Thank you for your contribution! 🚀

I need a bit more time to review your PR.

@mgrachev mgrachev linked an issue May 4, 2020 that may be closed by this pull request
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.

I have left some comments. Could you please fix them?

@sourabhmarathe
Copy link
Contributor Author

Yes, I will make these changes.

@mgrachev
Copy link
Member

mgrachev commented May 7, 2020

@sourabhmarathe Thank you!

Please, also add the information about your PR in the CHANGELOG.

@sourabhmarathe
Copy link
Contributor Author

@sourabhmarathe Thank you!

Please, also add the information about your PR in the CHANGELOG.

I added this PR to CHANGELOG.md. It should be all set!

@mgrachev mgrachev merged commit 1820e4d into dotenv-linter:master May 7, 2020
@mgrachev
Copy link
Member

mgrachev commented May 7, 2020

@sourabhmarathe Excellent work! Thank you ❤️

If it’s not difficult for you, please support the project - click on the star in this repository ⭐️

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 check: QuoteCharacter

3 participants