-
Notifications
You must be signed in to change notification settings - Fork 19
/
treefmt.toml
31 lines (28 loc) · 728 Bytes
/
treefmt.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# One CLI to format the code tree - https://github.com/numtide/treefmt
[formatter.nix]
# Formatter to run
command = "nixpkgs-fmt"
# Command-line arguments for the command
options = []
# Glob pattern of files to include
includes = [ "*.nix" ]
# Glob patterns of files to exclude
excludes = []
[formatter.python]
# Formatter to run
command = "black"
# Command-line arguments for the command
options = []
# Glob pattern of files to include
includes = [ "*.py" ]
# Glob patterns of files to exclude
excludes = []
[formatter.lua]
# Formatter to run
command = "stylua"
# Command-line arguments for the command
options = []
# Glob pattern of files to include
includes = [ "*.lua" ]
# Glob patterns of files to exclude
excludes = []