Skip to content

Instantly share code, notes, and snippets.

@d3vlopes
Created July 18, 2024 16:00
Show Gist options
  • Save d3vlopes/d288ddf617097de86236a246d9d875b2 to your computer and use it in GitHub Desktop.
Save d3vlopes/d288ddf617097de86236a246d9d875b2 to your computer and use it in GitHub Desktop.
{
"$schema": "https://biomejs.dev/schemas/1.7.1/schema.json",
"organizeImports": {
"enabled": true
},
"javascript": {
"formatter": {
"quoteStyle": "single"
}
},
"formatter": {
"ignore": [
"./@types/*",
]
},
"linter": {
"enabled": true,
"ignore": [
"./@types/*",
],
"rules": {
"recommended": true,
"correctness": {
"noUnusedVariables": "warn",
"useJsxKeyInIterable": "error",
"useHookAtTopLevel": "error",
"useExhaustiveDependencies": "error"
},
"suspicious": {
"noConsoleLog": "warn"
},
"style": {
"useEnumInitializers": "off",
"noNonNullAssertion": "off",
"useImportType": "off",
"useSelfClosingElements": "off",
"noUselessElse": "off"
},
"complexity": {
"noStaticOnlyClass": "off"
},
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment