-
Notifications
You must be signed in to change notification settings - Fork 2
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
report blacklist #132
Comments
If the CI integration was analog to https://github.com/DeLaGuardo/clojure-lint-action , namely applying a diff over a PR's changes only, maybe #132 wouldn't be that necessary. As of lately, I'm thinking that a big CI step that analyzes the whole project is bound to be a nuisance to people, as always unrelated stuff will show up. Requiring people to configure f-s seems not particularly attractive either. (We can refine a https://github.com/DeLaGuardo/clojure-lint-action -like idea in a separate issue) |
This issue overarches the CI issue because also (new) devs shouldn't be bothered by acknowledged / allowed warnings anyway. The main goal of this issue is to address unnecessary noise during development on (big / legacy) projects.
I don't think so. If we can create a good blacklist which doesn't require a lot of maintenance etc., we can prevent this issue altogether, and keep the CI integration simple (exit with
The configuration would be additional, to allow more fine grained control over the output. |
Given that by now, both clj-kondo and eastwood offer their own ignore 'syntaxes', f-s users can simply specify those and f-s will forward them to the underlying linters accordingly. That might be sufficient to consider this issue solved? There are more linters, but those don't emit false positives (as they tackle very tiny domains) so generally there's nothing to ignore. |
I think the priority is lower since the biggest linters ship with good ignore syntax nowadays. However I think a way to ignore built in linters is required before this issue can be closed |
Context
Sometimes a lint-warning won't need fixing (because edge cases, dev preference, etc.)
We want to have a way to ignore recurring warnings from bothering the user.
the CI integration (#88) would need this, so the build does not fail and the warning is considered unimportant.
Task
possible approaches
:line
,:column
,:filename
, and:source
of all (to be) ignored reports^:formatting-stack.<linter>/ignored
.loc-per-file
, andone-resource-per-ns
The text was updated successfully, but these errors were encountered: