Skip to content

Instantly share code, notes, and snippets.

@degouville
Created April 14, 2025 19:43
Show Gist options
  • Save degouville/6a4d14a0eb3bcc45dc161922a9f94946 to your computer and use it in GitHub Desktop.
Save degouville/6a4d14a0eb3bcc45dc161922a9f94946 to your computer and use it in GitHub Desktop.
Biome 1.9 for Next
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"organizeImports": {
"enabled": true
},
"files": {
"ignore": ["*.gen.ts", "*config*"]
},
"linter": {
"enabled": true,
"rules": {
"all": true,
"correctness": {
"useImportExtensions": "off"
},
"complexity": {
"noForEach": "off"
},
"nursery": {
"useImportRestrictions": "off",
"useComponentExportOnlyModules": "off"
},
"style": {
"useWhile": "off",
"noDefaultExport": "off",
"noImplicitBoolean": "off",
"noNamespaceImport": "info",
"noNonNullAssertion": "off",
"useBlockStatements": "off",
"useExplicitLengthCheck": "off",
"useFilenamingConvention": "off"
},
"suspicious": {
"noConsole": "info",
"noReactSpecificProps": "off"
}
}
},
"formatter": {
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 120,
"ignore": [".gitignore"]
},
"css": {
"formatter": {
"indentStyle": "space"
}
},
"javascript": {
"formatter": {
"enabled": true,
"bracketSpacing": true,
"indentStyle": "space",
"quoteStyle": "single",
"jsxQuoteStyle": "single",
"trailingCommas": "none",
"semicolons": "asNeeded",
"arrowParentheses": "asNeeded",
"attributePosition": "multiline"
}
},
"json": {
"formatter": {
"enabled": true,
"indentStyle": "space",
"trailingCommas": "none"
},
"linter": {
"enabled": true
},
"parser": {
"allowComments": true
}
},
"vcs": {
"enabled": true,
"clientKind": "git",
"defaultBranch": "main"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment