Created
June 20, 2025 12:45
-
-
Save keinsell/67e8188c665579360899207317627907 to your computer and use it in GitHub Desktop.
Biome configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json", | |
"formatter": { | |
"enabled": true, | |
"formatWithErrors": true, | |
"indentStyle": "space", | |
"indentWidth": 2, | |
"lineEnding": "lf", | |
"lineWidth": 80, | |
"attributePosition": "auto" | |
}, | |
"organizeImports": { "enabled": true }, | |
"linter": { | |
"enabled": true, | |
"rules": { | |
"all": true, | |
"a11y": { | |
"noAutofocus": "off" | |
}, | |
"complexity": { | |
"useSimplifiedLogicExpression": "off" | |
}, | |
"correctness": { | |
"noUndeclaredDependencies": "off", | |
"useImportExtensions": "off", | |
"noNodejsModules": "off" | |
}, | |
"nursery": { | |
"all": true, | |
"noCommonJs": "off", | |
"noProcessEnv": "off", | |
"noSecrets": "off", | |
"useComponentExportOnlyModules": "off", | |
"useExplicitType": "off", | |
"useImportRestrictions": "off", | |
"useConsistentCurlyBraces": "off", | |
"useSortedClasses": { | |
"fix": "safe", | |
"level": "error", | |
"options": { | |
"attributes": ["className"], | |
"functions": ["clsx", "cva", "tw", "twMerge", "cn", "twJoin"] | |
} | |
} | |
}, | |
"performance": { | |
"noBarrelFile": "off", | |
"noReExportAll": "off" | |
}, | |
"style": { | |
"noDefaultExport": "off", | |
"noImplicitBoolean": "off", | |
"useExplicitLengthCheck": "off", | |
"noNamespaceImport": "off", | |
"useFilenamingConvention": { | |
"level": "error", | |
"options": { | |
"requireAscii": true, | |
"filenameCases": ["kebab-case"] | |
} | |
}, | |
"useSingleVarDeclarator": "off", | |
"useNamingConvention": "off" | |
}, | |
"suspicious": { | |
"noReactSpecificProps": "off", | |
"noArrayIndexKey": "off" | |
} | |
} | |
}, | |
"javascript": { | |
"formatter": { | |
"arrowParentheses": "always", | |
"attributePosition": "auto", | |
"bracketSameLine": false, | |
"bracketSpacing": true, | |
"enabled": true, | |
"indentStyle": "space", | |
"indentWidth": 2, | |
"jsxQuoteStyle": "double", | |
"lineEnding": "lf", | |
"lineWidth": 80, | |
"quoteProperties": "asNeeded", | |
"quoteStyle": "single", | |
"semicolons": "always", | |
"trailingCommas": "es5" | |
} | |
}, | |
"css": { | |
"formatter": { | |
"indentStyle": "space", | |
"indentWidth": 2, | |
"lineEnding": "lf", | |
"lineWidth": 80, | |
"quoteStyle": "double" | |
}, | |
"parser": { | |
"allowWrongLineComments": false, | |
"cssModules": false | |
} | |
}, | |
"json": { | |
"formatter": { | |
"enabled": true, | |
"indentStyle": "space", | |
"indentWidth": 2, | |
"lineEnding": "lf", | |
"lineWidth": 80, | |
"trailingCommas": "none" | |
}, | |
"linter": { | |
"enabled": true | |
}, | |
"parser": { | |
"allowComments": false, | |
"allowTrailingCommas": false | |
} | |
}, | |
"vcs": { | |
"enabled": true, | |
"clientKind": "git", | |
"useIgnoreFile": true, | |
"defaultBranch": "main" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment