File tree Expand file tree Collapse file tree 3 files changed +34
-1
lines changed Expand file tree Collapse file tree 3 files changed +34
-1
lines changed Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ functions.
221221<!-- `> bash ./supported-programs.sh` -->
222222
223223<!-- BEGIN mdsh -->
224- ` treefmt-nix ` currently supports 111 formatters:
224+ ` treefmt-nix ` currently supports 112 formatters:
225225
226226* [ actionlint] ( programs/actionlint.nix )
227227* [ alejandra] ( programs/alejandra.nix )
@@ -304,6 +304,7 @@ functions.
304304* [ prettier] ( programs/prettier.nix )
305305* [ protolint] ( programs/protolint.nix )
306306* [ purs-tidy] ( programs/purs-tidy.nix )
307+ * [ qmlformat] ( programs/qmlformat.nix )
307308* [ rstfmt] ( programs/rstfmt.nix )
308309* [ rubocop] ( programs/rubocop.nix )
309310* [ ruff-check] ( programs/ruff-check.nix )
Original file line number Diff line number Diff line change 1+ [formatter .qmlformat ]
2+ command = " qmlformat"
3+ excludes = []
4+ includes = [" *.qml" ]
5+ options = []
Original file line number Diff line number Diff line change 1+ {
2+ mkFormatterModule ,
3+ ...
4+ } :
5+ {
6+ meta . maintainers = [
7+ "fvrings"
8+ ] ;
9+
10+ imports = [
11+ ( mkFormatterModule {
12+ name = "qmlformat" ;
13+ mainProgram = "qmlformat" ;
14+ package = [
15+ "kdePackages"
16+ "qtdeclarative"
17+ ] ;
18+ args = [
19+ "-i"
20+ ] ;
21+ includes = [
22+ "*.qml"
23+ ] ;
24+ } )
25+ ] ;
26+
27+ }
You can’t perform that action at this time.
0 commit comments