Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@ctrl/eslint-config-biome

Package Overview
Dependencies
Maintainers
1
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ctrl/eslint-config-biome - npm Package Compare versions

Comparing version
4.4.2
to
5.0.0
+15
-15
biome.json
{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"organizeImports": {
"assist": {
"enabled": false

@@ -8,3 +8,3 @@ },

"ignoreUnknown": true,
"ignore": ["package.json"]
"includes": ["**", "!**/package.json"]
},

@@ -16,3 +16,2 @@ "linter": {

"a11y": {
"noBlankTarget": "error",
"useButtonType": "error",

@@ -27,3 +26,2 @@ "useHeadingContent": "error",

"noExtraBooleanCast": "error",
"noMultipleSpacesInRegularExpressionLiterals": "error",
"noStaticOnlyClass": "error",

@@ -41,3 +39,2 @@ "noUselessCatch": "error",

"noVoid": "error",
"noWith": "error",
"useArrowFunction": "error",

@@ -48,3 +45,7 @@ "useFlatMap": "error",

"useRegexLiterals": "error",
"noUselessStringConcat": "error"
"noUselessStringConcat": "error",
"noAdjacentSpacesInRegex": "error",
"noCommaOperator": "error",
"useNumericLiterals": "error",
"noArguments": "error"
},

@@ -61,3 +62,2 @@ "correctness": {

"noInvalidConstructorSuper": "error",
"noInvalidNewBuiltin": "error",
"noNonoctalDecimalEscape": "error",

@@ -78,6 +78,7 @@ "noPrecisionLoss": "error",

"useValidForDirection": "error",
"useYield": "error"
"useYield": "error",
"noInvalidBuiltinInstantiation": "error",
"useValidTypeof": "error"
},
"style": {
"noCommaOperator": "error",
"noImplicitBoolean": "off",

@@ -93,6 +94,4 @@ "noInferrableTypes": "error",

"useLiteralEnumMembers": "error",
"useNumericLiterals": "error",
"useSelfClosingElements": "error",
"useSingleVarDeclarator": "error",
"noArguments": "error",
"noNegationElse": "error",

@@ -109,3 +108,2 @@ "useConsistentArrayType": {

"useShorthandFunctionType": "error",
"noVar": "error",
"noUselessElse": "error",

@@ -120,3 +118,4 @@ "useConsistentBuiltinInstantiation": "error",

"noDangerouslySetInnerHtml": "error",
"noDangerouslySetInnerHtmlWithChildren": "error"
"noDangerouslySetInnerHtmlWithChildren": "error",
"noBlankTarget": "error"
},

@@ -148,3 +147,2 @@ "suspicious": {

"useNamespaceKeyword": "error",
"useValidTypeof": "error",
"noUnsafeNegation": "error",

@@ -162,3 +160,5 @@ "noDuplicateParameters": "error",

"noMisplacedAssertion": "error",
"useErrorMessage": "error"
"useErrorMessage": "error",
"noWith": "error",
"noVar": "error"
}

@@ -165,0 +165,0 @@ }

{
"name": "@ctrl/eslint-config-biome",
"version": "4.4.2",
"version": "5.0.0",
"description": "eslint typescript config",

@@ -24,13 +24,13 @@ "scripts": {

"dependencies": {
"@eslint/js": "^9.27.0",
"@typescript-eslint/eslint-plugin": "^8.33.0",
"@typescript-eslint/parser": "^8.33.0",
"eslint-plugin-import-x": "^4.13.3",
"@eslint/js": "^9.29.0",
"@typescript-eslint/eslint-plugin": "^8.34.1",
"@typescript-eslint/parser": "^8.34.1",
"eslint-plugin-import-x": "^4.15.2",
"eslint-plugin-simple-import-sort": "^12.1.1",
"typescript-eslint": "^8.33.0"
"typescript-eslint": "^8.34.1"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@biomejs/biome": "2.0.0",
"@sindresorhus/tsconfig": "7.0.0",
"eslint": "^9.27.0",
"eslint": "^9.29.0",
"globals": "^16.2.0",

@@ -57,3 +57,3 @@ "typescript": "5.8.3"

},
"packageManager": "pnpm@10.11.0"
"packageManager": "pnpm@10.12.1"
}

@@ -42,1 +42,28 @@ # @ctrl/eslint-config-biome

```
possible to use biome to organize imports?
```json
"assist": {
"actions": {
"source": {
"organizeImports": {
"level": "on",
"options": {
"groups": [
[":SIDE_EFFECT:", ":URL:"],
":BLANK_LINE:",
[":BUN:", ":NODE:"],
":BLANK_LINE:",
["**", "!@ctrl*", "!@ctrl/**", "!../**", "!./**"],
":BLANK_LINE:",
["@ctrl*", "@ctrl/**"],
":BLANK_LINE:",
[":PATH:"]
]
}
}
}
}
},
```