KEMBAR78
feat: make an output on-the-fly(#335) by DDtKey · Pull Request #336 · dotenv-linter/dotenv-linter · GitHub
Skip to content

Conversation

DDtKey
Copy link
Member

@DDtKey DDtKey commented Oct 28, 2020

I thought about several options(up to the reactive approach, which is overkill in the linter), but it seemed to me that such a solution would be rather transparent and linear in the code.
By and large, the program output itself is completely taken out in a separate module.

Also, the structure of the output was completely preserved and the integration tests remained relevant!

And I noticed that we didn't update the documentation after adding the checking/fixing files output.
I will update this here and in a related project (site), but first I wanted to know your opinion on the implementation.
UPD: PR to site

Maybe there are ideas or suggestions with other approaches? @dotenv-linter/core

✔ 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).

@DDtKey DDtKey added this to the v3.0.0 milestone Oct 28, 2020
@DDtKey DDtKey requested a review from a team October 28, 2020 21:14
@codecov-io
Copy link

codecov-io commented Oct 28, 2020

Codecov Report

Merging #336 (a355329) into master (6769474) will increase coverage by 0.04%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #336      +/-   ##
==========================================
+ Coverage   97.05%   97.10%   +0.04%     
==========================================
  Files          33       34       +1     
  Lines        2379     2349      -30     
==========================================
- Hits         2309     2281      -28     
+ Misses         70       68       -2     
Impacted Files Coverage Δ
src/common.rs 100.00% <ø> (ø)
src/common/output/check.rs 100.00% <100.00%> (ø)
src/common/output/fix.rs 100.00% <100.00%> (ø)
src/lib.rs 100.00% <100.00%> (ø)
src/main.rs 82.75% <100.00%> (-8.77%) ⬇️

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 6769474...a355329. Read the comment docs.

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.

@DDtKey You have done excellect work! 🔥

@mgrachev mgrachev linked an issue Nov 7, 2020 that may be closed by this pull request
@DDtKey DDtKey changed the title feat: make a output on-the-fly(#335) feat: make an output on-the-fly(#335) Nov 8, 2020
Artem Medvedev and others added 2 commits November 8, 2020 21:58
@DDtKey DDtKey requested review from a team and mgrachev November 9, 2020 13:38
@mgrachev mgrachev merged commit 310a7ed into master Nov 9, 2020
@mgrachev mgrachev deleted the on-the-fly-output branch November 9, 2020 18:42
@mgrachev
Copy link
Member

mgrachev commented Nov 9, 2020

@DDtKey Thanks a lot! ⚡️

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.

Make an output on-the-fly

3 participants