@kumix/biome-config
v0.1.0
Published
Opinionated Biome configuration for modern TypeScript projects.
Maintainers
Readme
@kumix/biome-config
Opinionated Biome configuration for modern TypeScript projects.
Installation
bun add -D @kumix/biome-config @biomejs/biomeUsage
Create a biome.jsonc file in your project root:
{
"$schema": "https://biomejs.dev/schemas/latest/schema.json",
"extends": ["@kumix/biome-config/base"]
}Features
Core
- VCS integration enabled (Git, honors ignore files)
- Includes all files except common build outputs (
dist,build,.turbo,coverage,node_modules, etc.) - Unknown file kinds are not ignored by default
Formatting
- Indentation: 2 spaces
- Line endings: LF
- Line width: 100
- Global formatter enabled
JavaScript/TypeScript Formatting
- Quote style: double
- Arrow parentheses: always
- Bracket same line: false
- Bracket spacing: true
- Quote properties: as needed
- Semicolons: always
- Trailing commas: all
JSON Formatting
- Indentation: 2 spaces
- Trailing commas: none
HTML
- HTML formatter enabled
- Experimental full support enabled
CSS
- Formatter enabled (2-space indent, double quotes)
- Tailwind directives parsing enabled
Linting
- Linter enabled
- Recommended rules: on
- Accessibility rules largely disabled for pragmatic development
- Correctness:
noUnusedImports: level info, safe fixnoUnknownTypeSelector,useUniqueElementIds,noUnusedFunctionParameters,useParseIntRadix,useHookAtTopLevel: off
- Complexity:
noImportantStyles: off
- Style:
useConst: erroruseShorthandAssign: erroruseSingleVarDeclarator: erroruseSelfClosingElements: level info, safe fixuseTemplate: level info, safe fixnoNonNullAssertion,noDescendingSpecificity: offuseComponentExportOnlyModules,useReactFunctionComponents: commented out by default (uncomment to support React Fast Refresh)
- Suspicious:
noExplicitAny: warnnoDoubleEquals: warn, safe fixnoArrayIndexKey,noUnknownAtRules,noDuplicateProperties,noImplicitAnyLet: off
- Nursery:
useSortedClasses: level info, safe fix; recognizescn()utility
Code Assists (Organize Imports)
- Import organization enabled with natural identifier order
- Grouping strategy:
- URL, Node, Bun built-ins
- React, Next
- Third-party packages (excluding
@kumix/**,@repo/**) @kumix/**,@repo/**- Aliases
- Relative paths
Links
License
MIT © Kumix Inc.
