Skip to content

Commit

Permalink
chore: replace deprecated rome with new biome replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
peetzweg committed Nov 13, 2023
1 parent ce533eb commit 94cc7b0
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 42 deletions.
6 changes: 3 additions & 3 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"recommendations": ["rome.rome"],
"unwantedRecommendations": []
}
"recommendations": ["biomejs.biome"],
"unwantedRecommendations": []
}
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",
"indentWidth": 2,
"lineWidth": 80
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"correctness": {
"noUnusedVariables": "error"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"trailingComma": "all",
"semicolons": "always"
}
}
}
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"author": "Parity Technologies <[email protected]>",
"license": "Apache 2.0",
"scripts": {
"format": "rome format . --write",
"lint": "rome check ./*",
"format": "biome format . --write",
"lint": "biome check ./*",
"lint:fix": "pnpm lint --apply-unsafe",
"basic-contract-caller": "pnpm --filter basic-contract-caller dev",
"contract-terminate": "pnpm --filter contract-terminate dev",
Expand All @@ -28,11 +28,11 @@
"useink": "^1.13.0"
},
"devDependencies": {
"tailwindcss": "^3.3.2",
"classnames": "^2.3.2",
"@biomejs/biome": "^1.3.3",
"autoprefixer": "^10.4.14",
"classnames": "^2.3.2",
"postcss": "^8.4.24",
"rome": "12.1.3"
"tailwindcss": "^3.3.2"
},
"packageManager": "[email protected]"
}
34 changes: 0 additions & 34 deletions rome.json

This file was deleted.

0 comments on commit 94cc7b0

Please sign in to comment.