This repository was archived by the owner on Jan 12, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,5 +16,5 @@ Fluff is an extensible and modular linter designed to help you write good SQL an
1616| Options Id | Description | Type | Default Value |
1717| -----| -----| -----| -----|
1818| version | Select the version to install. | string | latest |
19-
19+ | plugins | A space delimitered list of sqlfluff plugins (will be injected into the sqlfluff pipx env). See proposals for examples. | string | - |
2020
Original file line number Diff line number Diff line change 1212 " latest"
1313 ],
1414 "type" : " string"
15+ },
16+ "plugins" : {
17+ "default" : " " ,
18+ "description" : " A space delimitered list of sqlfluff plugins (will be injected into the sqlfluff pipx env). See proposals for examples." ,
19+ "proposals" : [
20+ " sqlfluff-templater-dbt==2.3.5" ,
21+ " sqlfluff-templater-dbt sqlfluff-plugin-sparksql-upgrade"
22+ ],
23+ "type" : " string"
1524 }
1625 },
1726 "installsAfter" : [
1827 " ghcr.io/devcontainers-contrib/features/pipx-package" ,
1928 " ghcr.io/devcontainers/features/python"
2029 ]
21- }
30+ }
Original file line number Diff line number Diff line change 55
66# nanolayer is a cli utility which keeps container layers as small as possible
77# source code: https://github.com/devcontainers-contrib/nanolayer
8- # `ensure_nanolayer` is a bash function that will find any existing nanolayer installations,
9- # and if missing - will download a temporary copy that automatically get deleted at the end
8+ # `ensure_nanolayer` is a bash function that will find any existing nanolayer installations,
9+ # and if missing - will download a temporary copy that automatically get deleted at the end
1010# of the script
1111ensure_nanolayer nanolayer_location " v0.5.0"
1212
@@ -15,8 +15,8 @@ $nanolayer_location \
1515 install \
1616 devcontainer-feature \
1717 " ghcr.io/devcontainers-contrib/features/pipx-package:1.1.7" \
18- --option package=' sqlfluff' --option version=" $VERSION "
19-
18+ --option package=' sqlfluff' --option version=" $VERSION " --option injections= " $PLUGINS "
19+
2020
2121
2222echo ' Done!'
You can’t perform that action at this time.
0 commit comments