-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Add config flag and support .yaml #29 #81
Conversation
Codecov ReportBase: 66.89% // Head: 76.00% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #81 +/- ##
==========================================
+ Coverage 66.89% 76.00% +9.11%
==========================================
Files 13 14 +1
Lines 441 471 +30
==========================================
+ Hits 295 358 +63
+ Misses 129 85 -44
- Partials 17 28 +11
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
thanks @Mctalian for the PR! To specify a config file should not change the root - maybe there should be another option for this? 🤔 |
Sure! I can look into changing that. Any tips on how to get past the codecov checks? I can't test the |
@loeffel-io I added the I moved the logging of errors out of main to try to increase coverage - it did increase, but not enough to pass the patch check. Not sure how much more I can increase that coverage 🙁 |
@loeffel-io how does this look? Anything else you'd like me to change? |
Bump @loeffel-io |
Keen to see this merged and released, as being able to define a custom config file path would unblock us! 🙏 |
Bump @loeffel-io |
Hey @loeffel-io anything that I can do to get this merged in? |
@loeffel-io bump |
the complexity of this pr in case of maintenance is to high for this two simple flags |
Super disappointed with that decision. Best of luck on maintaining this library. 👋🏼 |
With Feel free to try it out |
Should handle #29 if you want to use
.ls-lint.yaml
instead. Also allows for specifying a config filels-lint -config ./relative/path/to/config/.ls-lint.yaml
.You can specify the relative path to a new working directory with
-pwd
flag. This could be useful for multi-language monorepos where projects have different directory naming conventions.ls-lint -pwd ./relative/path -config ./relative/path/.ls-lint.yml
Hyperfine performance results (2022/10/07 1:30 PM MT)
Time (mean ± σ): 85.0 ms ± 1.8 ms [User: 48.4 ms, System: 32.4 ms]
Time (mean ± σ): 84.6 ms ± 2.1 ms [User: 48.4 ms, System: 32.2 ms]
Run on:
I didn't see any contribution guidelines, so let me know if you'd like me to do something else.