Open cphyc opened 3 years ago
+1 to this. The usual method is to have a .fortran-format.yaml
where you read the rules you want to add/remove. Maybe check cmake-format
for some tips.
Some implementation notes:
.fortran-format.yaml
(or json, or etc.) for the default format/lint rules of the projectcmake-format
referenceflint
to codify the naming fortran-lint on/off
block is defined (like clang-format
) or if a specific lint command is specified (like clang-tidy
)
It would be great to be able to deactivate certain rules (similarly to how flake8 rules can be deactivated).