umma.dev

Rome

Youโ€™re probably heard of es-lint and prettier. Rome is new and similar to both of these.

What is Rome?

Rome combines linting and code formatting. Think eslint + prettier. Itโ€™s readable and reliable.

Click here to understand how it compares to current solutions.

Set Up

Editor Set Up (vs code)

You can install the rome extension form the vscode market place.

Application Set Up

npm install --save-dev rome

Rome can be run with npx rome

Create a rome.json config file for the project, this can be done via npx rome init.

This is the default for rome.json:

{
  "linter": {
    "enabled": true,
    "rules": {
      "recommended": true
    }
  }
}