@iguanads/biome-config
v1.1.1
Published
Iguana Design System Biome configuration - by Bento.
Downloads
81
Readme
Iguana DS Bento - Biome Config
Shared Biome 2.x configuration for Iguana Design System projects, with Tailwind CSS v4 utility class sorting support.
Installation
pnpm add -D @biomejs/biome @iguanads/biome-configUsage
Create a biome.json file in the project root:
{
"extends": ["@iguanads/biome-config/react.json"]
}Available configurations
react.json
Configuration for React projects with Tailwind CSS v4 support:
Formatter
- Indent style: spaces (2)
- Line width: 80
- Line ending: LF
JavaScript
- Single quotes, JSX with double quotes
- No semicolons (
asNeeded) - Trailing commas: ES5
- Arrow parentheses: always
CSS
- Formatting and linting enabled
- Same indent/line width as JavaScript
Linter
- Recommended rules enabled
noUnusedVariables: errornoUnusedImports: erroruseConst: errornoNonNullAssertion: off- Accessibility:
useAltText(warn)
Tailwind CSS v4
useSortedClasses: automatically sorts Tailwind utility classes (likeprettier-plugin-tailwindcss)- Recognizes classes inside
cn(),clsx(),cva(), andtwMerge()calls
Assist
organizeImports: automatic import sorting (replaces the v1organizeImportstop-level config)
