File tree Expand file tree Collapse file tree 3 files changed +20
-1
lines changed Expand file tree Collapse file tree 3 files changed +20
-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 110 formatters:
224
+ ` treefmt-nix ` currently supports 111 formatters:
225
225
226
226
* [ actionlint] ( programs/actionlint.nix )
227
227
* [ alejandra] ( programs/alejandra.nix )
@@ -267,6 +267,7 @@ functions.
267
267
* [ google-java-format] ( programs/google-java-format.nix )
268
268
* [ hclfmt] ( programs/hclfmt.nix )
269
269
* [ hlint] ( programs/hlint.nix )
270
+ * [ hujsonfmt] ( programs/hujsonfmt.nix )
270
271
* [ isort] ( programs/isort.nix )
271
272
* [ jsonfmt] ( programs/jsonfmt.nix )
272
273
* [ jsonnet-lint] ( programs/jsonnet-lint.nix )
Original file line number Diff line number Diff line change
1
+ # Example generated by ../examples.sh
2
+ [formatter .hujsonfmt ]
3
+ command = " hujsonfmt"
4
+ excludes = []
5
+ includes = [" *.hujson" ]
6
+ options = [" -w" ]
Original file line number Diff line number Diff line change
1
+ { mkFormatterModule , ... } :
2
+ {
3
+ meta . maintainers = [ "fjij" ] ;
4
+
5
+ imports = [
6
+ ( mkFormatterModule {
7
+ name = "hujsonfmt" ;
8
+ args = [ "-w" ] ;
9
+ includes = [ "*.hujson" ] ;
10
+ } )
11
+ ] ;
12
+ }
You can’t perform that action at this time.
0 commit comments