Skip to content
Snippets Groups Projects
Select Git revision
  • 5dd349430bc9601165e570907d8c5461f5d09859
  • master default protected
  • 0.5.9
  • 0.5.8
  • 0.5.7
  • 0.5.6
  • 0.5.5
  • 0.5.4
  • 0.5.3
  • 0.5.2
  • 0.5.1
  • 0.5.0
  • 0.4.17
  • 0.4.16
  • 0.4.15
  • 0.4.14
  • 0.4.13
  • 0.4.12
  • 0.4.11
  • 0.4.10
  • 0.4.9
  • 0.4.8
22 results

treefmt.toml

Blame
  • treefmt.toml 846 B
    # One CLI to format the code tree - https://github.com/numtide/treefmt
    
    [formatter.nix]
    command = "alejandra"
    options = []
    includes = [ "*.nix" ]
    excludes = []
    [formatter.go]
    command = "gofmt"
    options = []
    includes = [ "*.go" ]
    excludes = []
    [formatter.yaml]
    command = "prettier"
    options = [  ]
    includes = [ "*.yaml", "*.yml" ]
    excludes = []
    [formatter.json]
    command = "prettier"
    options = [  ]
    includes = [ "*.json" ]
    excludes = []
    [formatter.toml]
    command = "prettier"
    options = []
    includes = [ "*.toml" ]
    excludes = []
    [formatter.html]
    command = "prettier"
    options = [ "--parser", "html" ]
    includes = [ "*.html" ]
    excludes = []
    [formatter.css]
    command = "prettier"
    options = [ "--parser", "css" ]
    includes = [ "*.css" ]
    excludes = []
    [formatter.js]
    command = "prettier"
    options = [ "--parser", "babel" ]
    includes = [ "*.js" ]
    excludes = []