File tree Expand file tree Collapse file tree 3 files changed +27
-1
lines changed Expand file tree Collapse file tree 3 files changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ functions.
221
221
<!-- `> bash ./supported-programs.sh` -->
222
222
223
223
<!-- BEGIN mdsh -->
224
- ` treefmt-nix ` currently supports 109 formatters:
224
+ ` treefmt-nix ` currently supports 110 formatters:
225
225
226
226
* [ actionlint] ( programs/actionlint.nix )
227
227
* [ alejandra] ( programs/alejandra.nix )
@@ -245,6 +245,7 @@ functions.
245
245
* [ deno] ( programs/deno.nix )
246
246
* [ dhall] ( programs/dhall.nix )
247
247
* [ dnscontrol] ( programs/dnscontrol.nix )
248
+ * [ dockfmt] ( programs/dockfmt.nix )
248
249
* [ dos2unix] ( programs/dos2unix.nix )
249
250
* [ dprint] ( programs/dprint.nix )
250
251
* [ efmt] ( programs/efmt.nix )
Original file line number Diff line number Diff line change
1
+ # Example generated by ../examples.sh
2
+ [formatter .dockfmt ]
3
+ command = " dockfmt"
4
+ excludes = []
5
+ includes = [" Dockerfile" , " *.Dockerfile" , " Dockerfile.*" ]
6
+ options = [" fmt" , " -w" ]
Original file line number Diff line number Diff line change
1
+ { mkFormatterModule , ... } :
2
+ {
3
+ meta . maintainers = [ "theobori" ] ;
4
+
5
+ imports = [
6
+ ( mkFormatterModule {
7
+ name = "dockfmt" ;
8
+ args = [
9
+ "fmt"
10
+ "-w"
11
+ ] ;
12
+ includes = [
13
+ "Dockerfile"
14
+ "*.Dockerfile"
15
+ "Dockerfile.*"
16
+ ] ;
17
+ } )
18
+ ] ;
19
+ }
You can’t perform that action at this time.
0 commit comments