Skip to content

Commit

Permalink
sqlfluff added plugin support
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbraun89 authored Dec 13, 2023
1 parent 61751f7 commit d161e3a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion feature_definitions/sqlfluff/feature-definition.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "sqlfluff",
"version": "1.0.1",
"version": "1.0.2",
"name": "SqlFluff (via pipx)",
"documentationURL": "http://github.com/devcontainers-contrib/features/tree/main/src/sqlfluff",
"description": "Fluff is an extensible and modular linter designed to help you write good SQL and catch errors and bad SQL before it hits your database.",
Expand All @@ -12,6 +12,15 @@
"latest"
],
"type": "string"
},
"plugins": {
"default": "",
"description": "A space delimitered list of sqlfluff plugins (will be injected into the sqlfluff pipx env). See proposals for examples.",
"proposals": [
"sqlfluff-templater-dbt==2.3.5",
"sqlfluff-templater-dbt sqlfluff-plugin-sparksql-upgrade"
],
"type": "string"
}
},
"installsAfter": [
Expand All @@ -23,6 +32,7 @@
"feature": "ghcr.io/devcontainers-contrib/features/pipx-package:1.1.7",
"options": {
"package": "sqlfluff",
"injections": "$options.plugins",
"version": "$options.version"
}
}
Expand Down

0 comments on commit d161e3a

Please sign in to comment.