Skip to content

Instantly share code, notes, and snippets.

@milksense
Last active October 24, 2025 17:44
Show Gist options
  • Save milksense/2a0c1efda9ab0cf83bf4fe658878a67f to your computer and use it in GitHub Desktop.
Save milksense/2a0c1efda9ab0cf83bf4fe658878a67f to your computer and use it in GitHub Desktop.
Biome.js config
{
"$schema": "https://biomejs.dev/schemas/2.2.6/schema.json",
"vcs": {
"enabled": false,
"clientKind": "git",
"useIgnoreFile": false
},
"files": {
"ignoreUnknown": true
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"attributePosition": "multiline"
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"complexity": {
"noBannedTypes": "off"
},
"suspicious": {
"noShadowRestrictedNames": "off",
"noExplicitAny": "off"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "double",
"semicolons": "asNeeded",
"arrowParentheses": "asNeeded"
}
},
"css": {
"formatter": {
"quoteStyle": "double"
}
},
"assist": {
"enabled": true,
"actions": {
"source": {
"organizeImports": {
"level": "on",
"options": {
"groups": [
[
":NODE:",
":PACKAGE:",
"!@utils/**",
"!@models/**"
],
":BLANK_LINE:",
"@models/**",
"@utils/**",
":PATH:"
]
}
}
}
}
}
}
{
"$schema": "https://biomejs.dev/schemas/2.2.6/schema.json",
"vcs": {
"enabled": false,
"clientKind": "git",
"useIgnoreFile": false
},
"files": {
"ignoreUnknown": true
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"attributePosition": "multiline"
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"complexity": {
"noBannedTypes": "off"
},
"suspicious": {
"noShadowRestrictedNames": "off",
"noExplicitAny": "off"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "double",
"semicolons": "asNeeded",
"arrowParentheses": "asNeeded"
}
},
"css": {
"formatter": {
"quoteStyle": "double"
}
},
"assist": {
"enabled": true,
"actions": {
"source": {
"organizeImports": {
"level": "on",
"options": {
"groups": [
[
":NODE:",
"react"
],
":BLANK_LINE:",
"@/components/**",
":BLANK_LINE:",
"@/lib/**",
":BLANK_LINE:",
":PATH:",
"lucide-react",
":BLANK_LINE:"
]
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment