Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Commit

Permalink
replace rome.json with biome.json
Browse files Browse the repository at this point in the history
  • Loading branch information
peetzweg committed Sep 20, 2023
1 parent 368cfaa commit fe03cc5
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 35 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ issue)
We use the following tools to enforce linting rules, formatting and spell
checking

- [`yarn lint`](https://rome.tools/)
- [`pnpm lint`](https://biomejs.dev/)
- [`cspell`](https://cspell.org/)

We encourage adding the [recommended](.vscode/extensions.json) (or similar)
Expand Down
40 changes: 40 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"$schema": "https://biomejs.dev/schemas/1.0.0/schema.json",
"files": {
"ignore": [
"**/node_modules",
".next",
"public",
"dist",
"**/*.json",
"*.yaml",
".vscode"
]
},
"organizeImports": {
"enabled": true
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "space",
"indentSize": 2,
"lineWidth": 80
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"correctness": {
"noUnusedVariables": "error"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"trailingComma": "all",
"semicolons": "always"
}
}
}
34 changes: 0 additions & 34 deletions rome.json

This file was deleted.

0 comments on commit fe03cc5

Please sign in to comment.