Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-biome

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-biome - npm Package Compare versions

Comparing version 0.1.1 to 1.0.0

index.js

57

package.json
{
"name": "eslint-config-biome",
"version": "0.1.1",
"description": "",
"module": "src/index.ts",
"type": "module",
"bin": "dist/bin.js",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"start": "bun --watch run src/index.ts",
"build": "rimraf dist && npx tsc -p ./tsconfig.build.json",
"prepublishOnly": "bun run build",
"pre-commit": "bun test",
"prepare": "husky install"
},
"keywords": [],
"license": "MIT",
"files": ["dist"],
"devDependencies": {
"@biomejs/biome": "1.4.1",
"@sindresorhus/tsconfig": "^5.0.0",
"bun-types": "latest",
"eslint-config-gev": "^3.10.5",
"husky": "^8.0.1",
"lint-staged": "^15.2.0",
"rimraf": "^5.0.5",
"typescript": "^5.3.3"
}
}
"name": "eslint-config-biome",
"version": "1.0.0",
"type": "module",
"description": "Disables all the ESLint rules that have a recommended and equivalent Biome rule",
"main": "index.js",
"scripts": {
"start": "bun --watch run src/index.ts",
"pre-commit": "bun test",
"prepare": "husky install"
},
"keywords": [],
"license": "MIT",
"files": ["index.js"],
"devDependencies": {
"@biomejs/biome": "1.4.1",
"@sindresorhus/tsconfig": "^5.0.0",
"@types/jsdom": "^21.1.6",
"axios": "^1.6.2",
"bun-types": "latest",
"eslint-config-gev": "^3.10.5",
"husky": "^8.0.1",
"jsdom": "^23.0.1",
"lint-staged": "^15.2.0",
"puppeteer": "^21.6.1",
"rimraf": "^5.0.5",
"typescript": "^5.3.3"
}
}

@@ -14,4 +14,6 @@ # eslint-config-biome

! WIP ! Don't use it yet at all.
Disables all the ESLint rules that have an **equivalent and recommended** Biome rule, so you can use both for better performance.
Early stage lib, will be improved soon with further possibilities such as considering non-recommended Biome rules.
## 💿 Installation

@@ -23,4 +25,40 @@

## 📖 Usage
- `.eslintrc.*`: Add `"biome"` as the last item in the `"extends"` field.
```json
{
"extends": [
"other-configs",
"biome"
]
}
```
- `eslint.config.js`: Import `eslint-config-biome` and have it as the last item in the configuration array
```js
import eslintConfigBiome from "eslint-config-biome";
export default [
otherConfigs,
eslintConfigBiome,
];
```
## ℹ️ Info
You should use it together with [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) so formatting rules are also disabled as Biome has almost a 100% compatibility with prettier! You certainly no longer require prettier if you are using Biome.
In VSCode, to apply Biome and ESLint on save, you should have these in your settings.json:
```json
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit",
"source.organizeImports.biome": "explicit",
"quickfix.biome": "explicit"
},
"editor.defaultFormatter": "biomejs.biome"
```
## 📰 [Changelog](CHANGELOG.md)

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc