eslint-config-biome
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -12,3 +12,3 @@ /** | ||
"dot-notation": "off", | ||
eqeqeq: "off", | ||
"eqeqeq": "off", | ||
"for-direction": "off", | ||
@@ -137,3 +137,4 @@ "getter-return": "off", | ||
"unicorn/prefer-array-flat-map": "off", | ||
}, | ||
"simple-import-sort/imports": "off", | ||
} | ||
} |
{ | ||
"name": "eslint-config-biome", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Disables ESLint rules that have a recommended and equivalent Biome rule", | ||
"main": "index.js", | ||
"scripts": { | ||
"start": "bun --watch run scripts/index.ts", | ||
"pre-commit": "bun test && bun format", | ||
"format": "biome check --apply-unsafe .", | ||
"tsw": "tsc --watch --noEmit", | ||
"typecheck": "tsc --noEmit", | ||
"pre-commit": "bun typecheck && bun test && bun format", | ||
"prepare": "husky install", | ||
"format": "biome check --apply ." | ||
"test:watch": "bun test --watch", | ||
"watch": "bun --watch run scripts/index.ts", | ||
"start": "bun run scripts/index.ts" | ||
}, | ||
@@ -12,0 +16,0 @@ "repository": "SrBrahma/eslint-config-biome", |
@@ -13,3 +13,3 @@ # eslint-config-biome | ||
Disables all the ESLint rules that have an [**equivalent and recommended**](https://github.com/biomejs/biome/discussions/3) [Biome](https://biomejs.dev/) rule so you can use both of them ;) | ||
Disables ESLint rules that have an [**equivalent and recommended**](https://github.com/biomejs/biome/discussions/3) [Biome](https://biomejs.dev/), allowing the simultaneous use of ESLint and Biome. | ||
@@ -24,22 +24,22 @@ ## 💿 Installation | ||
```json | ||
{ | ||
"extends": [ | ||
"other-configs", | ||
"biome" | ||
] | ||
} | ||
``` | ||
```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"; | ||
```js | ||
import eslintConfigBiome from "eslint-config-biome"; | ||
export default [ | ||
otherConfigs, | ||
eslintConfigBiome, | ||
]; | ||
``` | ||
export default [ | ||
otherConfigs, | ||
eslintConfigBiome, | ||
]; | ||
``` | ||
## ℹ️ Info | ||
@@ -46,0 +46,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9854
138