Skip to content

Commit

Permalink
Replace Rome with Biome (#4)
Browse files Browse the repository at this point in the history
The Rome tools project has been abandoned in favour of the community fork Biome: https://biomejs.dev/blog/annoucing-biome
  • Loading branch information
mnemitz authored Sep 5, 2023
1 parent f8da8ab commit 3e8bc40
Show file tree
Hide file tree
Showing 6 changed files with 186 additions and 164 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v2
- name: Installing node_modules
run: npm install
- name: Running Rome
- name: Running lint/format check
run: npm run check

# check-models:
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ If you want a feature, you can open a discussion via the [issues](https://github

> Any color you like.
We use Rome for linting https://www.npmjs.com/package/rome
We use Biome for linting and formatting: https://www.npmjs.com/package/@biomejs/biome

You can run linting and formatting using the scripts:

Expand Down
3 changes: 2 additions & 1 deletion rome.json → biome.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"$schema": "https://docs.rome.tools/schemas/12.1.3/schema.json",
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"organizeImports": {
"enabled": false
},
"formatter": {
"indentStyle": "space",
"indentSize": 2,
"ignore": ["./dist"]
},
"javascript": {
Expand Down
Loading

0 comments on commit 3e8bc40

Please sign in to comment.