This repository was archived by the owner on Jan 12, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +15
-6
lines changed Expand file tree Collapse file tree 3 files changed +15
-6
lines changed 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
16
16
| Options Id | Description | Type | Default Value |
17
17
| -----| -----| -----| -----|
18
18
| 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 | - |
20
20
Original file line number Diff line number Diff line change 12
12
" latest"
13
13
],
14
14
"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"
15
24
}
16
25
},
17
26
"installsAfter" : [
18
27
" ghcr.io/devcontainers-contrib/features/pipx-package" ,
19
28
" ghcr.io/devcontainers/features/python"
20
29
]
21
- }
30
+ }
Original file line number Diff line number Diff line change 5
5
6
6
# nanolayer is a cli utility which keeps container layers as small as possible
7
7
# 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
10
10
# of the script
11
11
ensure_nanolayer nanolayer_location " v0.5.0"
12
12
@@ -15,8 +15,8 @@ $nanolayer_location \
15
15
install \
16
16
devcontainer-feature \
17
17
" 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
+
20
20
21
21
22
22
echo ' Done!'
You can’t perform that action at this time.
0 commit comments