File tree Expand file tree Collapse file tree 2 files changed +27
-1
lines changed
Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ functions.
222222<!-- `> bash ./supported-programs.sh` -->
223223
224224<!-- BEGIN mdsh -->
225- ` treefmt-nix ` currently supports 121 formatters:
225+ ` treefmt-nix ` currently supports 122 formatters:
226226
227227* [ actionlint] ( programs/actionlint.nix )
228228* [ aiken] ( programs/aiken.nix )
@@ -312,6 +312,7 @@ functions.
312312* [ prettier] ( programs/prettier.nix )
313313* [ protolint] ( programs/protolint.nix )
314314* [ purs-tidy] ( programs/purs-tidy.nix )
315+ * [ qmlformat] ( programs/qmlformat.nix )
315316* [ rstfmt] ( programs/rstfmt.nix )
316317* [ rubocop] ( programs/rubocop.nix )
317318* [ ruff-check] ( programs/ruff-check.nix )
Original file line number Diff line number Diff line change 1+ {
2+ pkgs ,
3+ mkFormatterModule ,
4+ ...
5+ } :
6+ {
7+ meta = {
8+ maintainers = [ "rotmh" ] ;
9+ platforms = pkgs . lib . platforms . linux ;
10+ skipExample = true ;
11+ } ;
12+
13+ imports = [
14+ ( mkFormatterModule {
15+ name = "qmlformat" ;
16+ mainProgram = "qmlformat" ;
17+ package = [
18+ "kdePackages"
19+ "qtdeclarative"
20+ ] ;
21+ args = [ "-i" ] ;
22+ includes = [ "*.qml" ] ;
23+ } )
24+ ] ;
25+ }
You can’t perform that action at this time.
0 commit comments