File tree 3 files changed +13
-0
lines changed 3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,10 @@ eval "$shellHook"
98
98
99
99
- [ elm-format] ( https://github.com/avh4/elm-format )
100
100
101
+ ## Purescript
102
+
103
+ - [ purty] ( https://gitlab.com/joneshf/purty )
104
+
101
105
## Python
102
106
103
107
- [ black] ( https://github.com/psf/black )
Original file line number Diff line number Diff line change 184
184
files = "\\ .rs$" ;
185
185
pass_filenames = false ;
186
186
} ;
187
+ purty =
188
+ {
189
+ name = "purty" ;
190
+ description = "Format purescript files" ;
191
+ entry = "${ tools . purty } /bin/purty --write" ;
192
+ files = "\\ .purs$" ;
193
+ } ;
187
194
} ;
188
195
}
Original file line number Diff line number Diff line change 20
20
, rustfmt
21
21
, clippy
22
22
, cargo
23
+ , nodePackages
23
24
} :
24
25
25
26
{
26
27
inherit ansible-lint hlint shellcheck ormolu hindent cabal-fmt nixpkgs-fmt nixfmt nix-linter rustfmt clippy cargo ;
27
28
inherit ( elmPackages ) elm-format ;
28
29
inherit ( haskellPackages ) stylish-haskell brittany hpack ;
29
30
inherit ( pythonPackages ) yamllint ;
31
+ inherit ( nodePackages ) purty ;
30
32
terraform-fmt = callPackage ./terraform-fmt { } ;
31
33
}
You can’t perform that action at this time.
0 commit comments