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

Change the severity of the linting issues. #66

Closed
Luttik opened this issue Oct 19, 2022 · 2 comments
Closed

Change the severity of the linting issues. #66

Luttik opened this issue Oct 19, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@Luttik
Copy link

Luttik commented Oct 19, 2022

Currently, the severity of the SQLfluff linting issues are at the severity level Error this seems to be hardcoded here. However, these linting issues are very unlikely to actually be an error. Instead, this should probably be hint or warning. It would be great if you were able to select this in the settings.

@RobertOstermann RobertOstermann self-assigned this Oct 19, 2022
@RobertOstermann RobertOstermann added the enhancement New feature or request label Oct 20, 2022
@RobertOstermann
Copy link
Contributor

@Luttik In v0.1.5 I have added the option sqlfluff.linter.diagnosticSeverity and sqlfluff.linter.diagnosticSeverityByRule that allows you to set the default diagnostic severity and the severity for each rule.

@Luttik
Copy link
Author

Luttik commented Oct 26, 2022

Nice, This was an insanely fast improvement...

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

2 participants