
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
eslint-config-biome
Advanced tools
Disables ESLint rules that have a recommended and equivalent Biome rule
Disables ESLint rules that have an equivalent and recommended Biome, allowing the
simultaneous use of Biome and ESLint.
npm install -D eslint-config-biome # or your preferred package manager ;)
.eslintrc.*
: Add "biome"
as the last item in the extends
field.
{
"extends": [
"other-configs",
"biome"
]
}
eslint.config.js
: Import eslint-config-biome
and have it as the last item in the configuration array
import eslintConfigBiome from "eslint-config-biome";
export default [
otherConfigs,
eslintConfigBiome,
];
In your .eslintrc, you can instead have this in overrides
:
"overrides": [{
files: ["*.ts", "*.js", "*.tsx", "*.jsx"],
extends: ["biome"],
}],
rules
.You should use it together with eslint-config-prettier so formatting rules are also disabled as Biome has almost 100% compatibility with prettier. It may eventually be integrated into this package, so you won't need to also install it.
In VSCode, to apply Biome and ESLint on save, you should have these in your settings.json:
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit",
"source.organizeImports.biome": "explicit",
"quickfix.biome": "explicit"
},
"editor.defaultFormatter": "biomejs.biome"
Soon there will be a npx tool to disable ESLint rules based on your biome config file, so non-recommended biome rules will also be considered.
This package had its origin in this discussion. Thanks DaniGuardiola for your initial code!
1.3.0
Now relevant TS Extension rules are added automatically to the index.js. These were added:
"@typescript-eslint/dot-notation": "off",
"@typescript-eslint/no-loss-of-precision": "off",
"@typescript-eslint/no-dupe-class-members": "off",
"@typescript-eslint/default-param-last": "off",
"@typescript-eslint/no-useless-constructor": "off",
"@typescript-eslint/no-redeclare": "off",
Thank you Nicolas for the idea!
Added an awesome logo to the project ;)
FAQs
Disables ESLint rules that have a recommended and equivalent Biome rule
The npm package eslint-config-biome receives a total of 14,161 weekly downloads. As such, eslint-config-biome popularity was classified as popular.
We found that eslint-config-biome demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.