Skip to content

Instantly share code, notes, and snippets.

@JosephScript
Created March 4, 2026 14:29
Show Gist options
  • Select an option

  • Save JosephScript/deb5fe8c94e0bdf95b76cee90e8e5aec to your computer and use it in GitHub Desktop.

Select an option

Save JosephScript/deb5fe8c94e0bdf95b76cee90e8e5aec to your computer and use it in GitHub Desktop.
Default biome settings
{
"$schema": "https://biomejs.dev/schemas/2.0.6/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"ignoreUnknown": false
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"attributePosition": "auto"
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"correctness": {
"noUnusedImports": "error",
"useExhaustiveDependencies": "warn",
"noUnknownFunction": "warn",
"noUnusedVariables": "error"
},
"style": {
"useNodejsImportProtocol": "off",
"noUselessElse": "off"
},
"complexity": {
"noBannedTypes": "warn",
"noForEach": "warn",
"useLiteralKeys": "off"
},
"suspicious": {
"noExplicitAny": "warn",
"noShadowRestrictedNames": "warn",
"noArrayIndexKey": "warn",
"noImplicitAnyLet": "warn",
"noAssignInExpressions": "warn",
"noDuplicateFontNames": "warn"
},
"a11y": {
"useGenericFontNames": "warn",
"noSvgWithoutTitle": "warn",
"useButtonType": "warn",
"useSemanticElements": "warn",
"useKeyWithClickEvents": "warn",
"useKeyWithMouseEvents": "warn"
},
"security": {
"noDangerouslySetInnerHtml": "warn"
}
}
},
"javascript": {
"formatter": {
"jsxQuoteStyle": "double",
"quoteProperties": "asNeeded",
"trailingCommas": "all",
"semicolons": "asNeeded",
"arrowParentheses": "always",
"bracketSpacing": true,
"bracketSameLine": false,
"quoteStyle": "single",
"attributePosition": "auto"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment