excludes = [
'.editorconfig',
'**/.editorconfig',
'.gitignore',
'**/.gitignore',
'LICENSE',
'**/LICENSE',
'README.md',
'**/README.md',
'justfile',
'*.lock',
]
[formatter.shell]
command = 'shfmt'
options = ['-w', '--indent=2']
includes = ['.env', '.envrc', '*.sh']
[formatter.nix]
command = 'nixfmt'
includes = ['*.nix']
[formatter.rust]
command = 'rustfmt'
includes = ['*.rs']
[formatter.cargotoml]
command = 'taplo'
options = ['fmt', '-o', 'indent_string= ']
includes = ['Cargo.toml', '**/Cargo.toml', '*.Cargo.toml']
[formatter.toml]
command = 'taplo'
options = ['fmt']
includes = ['*.toml']
excludes = ['Cargo.toml', '**/Cargo.toml', '*.Cargo.toml']