Skip to content
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

Allow linters to report warnings #4476

Open
bdovaz opened this issue Jan 10, 2025 · 1 comment
Open

Allow linters to report warnings #4476

bdovaz opened this issue Jan 10, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@bdovaz
Copy link
Collaborator

bdovaz commented Jan 10, 2025

Right now they only report bugs which is what appears in the reporters:

self.cli_lint_errors_count = None

def get_total_number_errors(self, stdout: str):

It would be nice to enable that at least warnings are also reported and evaluate if we want some severity level more. Warning severity level is standard, the rest depends on each linter because vale linter has “suggestion” level but there are others that will not have it or will be called differently.

@bdovaz bdovaz added the enhancement New feature or request label Jan 10, 2025
@bdovaz
Copy link
Collaborator Author

bdovaz commented Jan 10, 2025

@nvuillam @echoix what do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant