JuliaFormatter.jl seems to be the main formatting tool for the language and what the Julia extension for VS Code uses. I've been finding the latter has some opinions on the formatting of the code, at least with the default settings. In small files I've been letting it format the entire file because I think it make it more readable, but the lack of a formatting guideline or tool means we don't have consistent formatting across the code base. We should think about rectifying that. That could be as little as a snippet in the contributing guidelines about using JuliaFormatter, or as much as a github action or pre-commit hook that runs. @pgbrodrick Thoughts?
JuliaFormatter.jl seems to be the main formatting tool for the language and what the Julia extension for VS Code uses. I've been finding the latter has some opinions on the formatting of the code, at least with the default settings. In small files I've been letting it format the entire file because I think it make it more readable, but the lack of a formatting guideline or tool means we don't have consistent formatting across the code base. We should think about rectifying that. That could be as little as a snippet in the contributing guidelines about using
JuliaFormatter, or as much as a github action or pre-commit hook that runs. @pgbrodrick Thoughts?