Youโre probably heard of es-lint and prettier. Rome is new and similar to both of these.
Rome combines linting and code formatting. Think eslint + prettier. Itโs readable and reliable.
Click here to understand how it compares to current solutions.
You can install the rome extension form the vscode market place.
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
}
}
}