-
-
Notifications
You must be signed in to change notification settings - Fork 158
Consider blank lines in UnorderedKey check #221
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
Conversation
45fa8f1 to
0d2073a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is really very useful change! 🔥
I think this should be the default behavior!
But what do you think about to make this a configurable property? 🤔
Grouped order (default) and full file order (optional)
|
Making it configurable is a good thing I think, but as you've stated I also think that this should be the default behaviour. |
Yes, of course, I am fully in favor of this being a separate PR. |
0d2073a to
6818eba
Compare
Codecov Report
@@ Coverage Diff @@
## master #221 +/- ##
==========================================
+ Coverage 96.59% 96.66% +0.06%
==========================================
Files 16 16
Lines 1469 1499 +30
==========================================
+ Hits 1419 1449 +30
Misses 50 50
Continue to review full report at Codecov.
|
85c118b to
905ea75
Compare
Signed-off-by: Mikhail Grachev <work@mgrachev.com>
905ea75 to
902df3f
Compare
|
@DDtKey @mstruebing Configurability is a good idea, but I'm not sure that we need it in this check. I would like to return to this discussion in the future if we need to implement configurability for several checks. |
In some projects, I work with large
.envfiles which have more than 200 lines.Sorting these files is a really big problem.
The solution is to use groups of lines separated by blank lines. For example:
✔ Checklist: