A code formatter for Julia with rules set in stone.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Fredrik Ekre a0ba874830
Fix infix_op_call predicat
2 years ago
.github CI YAML files. 2 years ago
src Fix infix_op_call predicat 2 years ago
test Fix spaces in comparison chains 2 years ago
LICENSE Add initial files 2 years ago
Project.toml Add test/runtests.jl 2 years ago
README.md Format floating point literals. 2 years ago

README.md

Runic.jl

A code formatter with rules set in stone.

Formatting specification

This is a list of the rules and formatting transformations performed by Runic:

  • No trailing whitespace
  • Normalized line endings (\r\n -> \n) (TODO: Is this bad on Windows with Git's autocrlf? gofmt does it...)
  • Hex/octal/binary literals are padded with zeroes to better highlight the resulting UInt type
  • Floating point literals are normalized to always have an integral and fractional part. E-exponents are normalized to e-exponents. Unnecessary trailing/leading zeros from integral, fractional, and exponent parts are removed.