Skip to content

Instantly share code, notes, and snippets.

@cristiandelahooz
Last active January 6, 2025 19:48
Show Gist options
  • Save cristiandelahooz/ef3121557f2713a378bbcf074bb1c812 to your computer and use it in GitHub Desktop.
Save cristiandelahooz/ef3121557f2713a378bbcf074bb1c812 to your computer and use it in GitHub Desktop.
biome formater-lint configuration
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"extends": [],
"files": {
"ignoreUnknown": true
},
"organizeImports": {
"enabled": true
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 80
},
"javascript": {
"parser": {
"unsafeParameterDecoratorsEnabled": true
},
"formatter": {
"quoteStyle": "single",
"jsxQuoteStyle": "single",
"trailingCommas": "all"
}
},
"json": {
"parser": {
"allowComments": true
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 80
}
},
"linter": {
"ignore": [],
"rules": {
"a11y": {
"recommended": true
},
"complexity": {
"recommended": true
},
"correctness": {
"recommended": true
},
"performance": {
"recommended": true
},
"security": {
"recommended": true
},
"style": {
"recommended": true
},
"suspicious": {
"recommended": true
},
"nursery": {
"recommended": true
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment