Skip to content

Commit 9530991

Browse files
committed
feat: add dart format
1 parent 2186429 commit 9530991

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
- [ ] [cbfmt](https://github.com/lukas-reineke/cbfmt)
1414
- [x] [clang-format](https://www.kernel.org/doc/html/latest/process/clang-format.html)
1515
- [ ] [csharpier](https://csharpier.com/)
16+
- [ ] [dart](https://github.com/dart-lang)
1617
- [ ] [djhtml](https://github.com/rtts/djhtml)
1718
- [x] [docformatter](https://github.com/PyCQA/docformatter)
1819
- [ ] [dprint](https://dprint.dev/)

lua/guard-collection/formatter.lua

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ M.csharpier = {
3535
stdin = true,
3636
}
3737

38+
M.dart = {
39+
cmd = 'dart',
40+
args = { 'format' },
41+
stdin = true,
42+
}
43+
3844
M.djhtml = {
3945
cmd = 'djhtml',
4046
args = { '-' },

0 commit comments

Comments
 (0)