-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use Biome #3327
use Biome #3327
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode", "rome.rome"] | ||
"recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode", "biomejs.biome"] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"$schema": "./node_modules/rome/configuration_schema.json", | ||
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json", | ||
"files": { | ||
"ignore": ["./coverage/**/*", "./dist/**/*", "./lib/**/*", "*.json"] | ||
}, | ||
|
@@ -42,7 +42,6 @@ | |
}, | ||
"complexity": { | ||
"noExtraBooleanCast": "error", | ||
"noExtraSemicolon": "error", | ||
"noMultipleSpacesInRegularExpressionLiterals": "error", | ||
"noUselessCatch": "error", | ||
"noUselessConstructor": "error", | ||
|
@@ -151,5 +150,8 @@ | |
"useValidTypeof": "error" | ||
} | ||
} | ||
}, | ||
"organizeImports": { | ||
"enabled": false | ||
} | ||
Comment on lines
+153
to
156
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Biome sorts imports on should we use Biome to sort import? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. May be we can use Biome. It will be faster for sure. Let's try in a separate PR |
||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this emits error. Biome doesn't seem to have it.
and the rule seems to be removed from Rome as well
we can see that there is no page when we click the link to lint/complexity/noExtraSemicolon
from https://rome.tools/blog/2023/05/10/rome12_1/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed from Rome rome/tools#4576