OCamlFormat vs RuboCop
OCamlFormat
github.comRuboCop
rubocop.orgSide by side
| Figure | OCamlFormat | RuboCop |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Linux | Yes | Yes |
| Self-hosted | — | Yes |
| Plans published | 1 | 1 |
| Spec score · Code formatters | 7.4 (#13) | 7.6 (#10) |
| Customization | Users can select a profile and configure options in a project’s `.ocamlformat` file. | Teams can configure cop styles in a .rubocop.yml file and inherit settings from a shared configuration. |
| Installation | Installation is through opam, and the README says OCaml and opam are required. | RuboCop can be installed with gem install rubocop or added to a Bundler Gemfile as a standalone tool. |
| Purpose | OCamlFormat is a code formatter for OCaml. | RuboCop is a Ruby static code analyzer and formatter based on the community Ruby Style Guide. |
Plans
In their own words
OCamlFormat
OCamlFormat has no write-up on Specifiction yet; its figures are above.