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

Update sqlfluff descriptor to enable error count #1462

Merged
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ Note: Can be used with `megalinter/megalinter@beta` in your GitHub Action mega-l
- [terragrunt](https://terragrunt.gruntwork.io) from 0.36.9 to **0.36.10** on 2022-05-06
<!-- linter-versions-end -->

- Flavors
- Update sqlfluff descriptor properties to enable error count([#1460](https://github.com/megalinter/megalinter/issues/1460))

## [v5.12.0] - 2022-04-23

- Core
Expand Down
2 changes: 2 additions & 0 deletions megalinter/descriptors/sql.megalinter-descriptor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ linters:
active_only_if_file_found:
- .sqlfluff
cli_lint_mode: list_of_files
cli_lint_errors_count: regex_count
cli_lint_errors_regex: "L:(.*)P:(.*)"
cli_lint_extra_args:
- lint
cli_config_arg_name: "--config"
Expand Down