{"repo":"fredrikekre/Runic.jl","free":true,"listed":false,"github":"https://github.com/fredrikekre/Runic.jl","clone":"git clone https://github.com/fredrikekre/Runic.jl.git","description":"A code formatter for Julia with rules set in stone.","language":"Julia","stars":241,"topics":["formatter","julia","julia-language"],"license":"MIT","category":"dev-tools","readme_excerpt":"Runic.jl A code formatter with rules set in stone. Runic is a formatter for the Julia programming language built on top of JuliaSyntax.jl. Similarly to gofmt , Runic have no configuration . The formatting rules are set in stone (although not yet complete). This approach is something that is appreciated by most Go programmers, see for example the following quote: Gofmt's style is no one's favorite, yet gofmt is everyone's favorite. Table of contents - Installation - Usage - CLI - Editor integration - Git integration - Adopting Runic formatting - Ignore formatting commits in git blame - Badge - Checking formatting - Github Actions - Git hooks - Version policy - Formatting specification Installation In Julia v1.12 and later, Runic can be installed as a Pkg app: Assuming /.julia/bin is in your PATH you can now invoke runic from your shell, e.g.: [!NOTE] When walking directories Runic refuses to recurse into your home directory and into Julia depot subdirectories (e.g. /.julia/packages ), and skips nested git repositories (e.g. git submodules). Pass --recurse to include nested git repositories and --force-recurse to disable all checks. Legacy installation instructions The following copy-pasteable snippet installs Runic (in a @runic shared environment) and the runic and git-runic wrappers (in .local/bin ). Usage CLI The CLI is the main interface to Runic. runic --help will show all available options (output included below). Some example invocations are listed here. Format a single ","default_branch":null,"files":null,"tree":[],"storefront":"/r/fredrikekre","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fredrikekre/Runic.jl/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}