chore: add biome.json and remove redundant config files #2181
+228
−985
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Picking forward from #2175
Use biomejs for Linting and formatting Switch from prettier + eslint to Biome #2145
Rules configured
✅ @typescript-eslint/no-unsafe-declaration-merging
✅ @typescript-eslint/no-use-before-define
✅ no-console
✅ @typescript-eslint/consistent-type-imports
✅ @typescript-eslint/no-non-null-assertion
✅ no-restricted-imports
✅ no-restricted-globals
Rules set as
⚠️ import/no-extraneous-dependencies - Available from version
warn
2.0.0
-and also we have a issue here 💅 Lint rule
noUndeclaredDependencies
doesn't check nearestpackage.json
depedencies with npm workspace biomejs/biome#4992Rules Not available
❌ @typescript-eslint/explicit-function-return-type
❌ @typescript-eslint/explicit-module-boundary-types
❌ @typescript-eslint/explicit-member-accessibility
❌ @typescript-eslint/ban-ts-comment
❌ @typescript-eslint/no-floating-promises
❌ import/no-cycle
❌ import/newline-after-import
❌ import/order
❌ no-restricted-syntax
Tasks
eslint-disable-next-line
tobiome-ignore