Created
April 17, 2025 17:34
-
-
Save rodrigobertin/5603fcbe4d1d4ab8b635f9d379562aa4 to your computer and use it in GitHub Desktop.
Biome for Angular
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/2.0.0-beta.1/schema.json", | |
"vcs": { "enabled": false, "clientKind": "git", "useIgnoreFile": false }, | |
"files": { | |
"ignoreUnknown": false, | |
"includes": ["**", "!**/node_modules", "!**/.angular", "!**/dist"] | |
}, | |
"formatter": { | |
"enabled": true, | |
"formatWithErrors": false, | |
"indentStyle": "space", | |
"indentWidth": 2, | |
"lineEnding": "lf", | |
"lineWidth": 80, | |
"attributePosition": "auto", | |
"bracketSameLine": true, | |
"bracketSpacing": true, | |
"expand": "auto", | |
"useEditorconfig": true | |
}, | |
"linter": { | |
"enabled": true, | |
"rules": { | |
"complexity": { "noBannedTypes": "off" }, | |
"correctness": { "noUnsafeOptionalChaining": "off" }, | |
"style": { | |
"noArguments": "error", | |
"noCommaOperator": "error", | |
"noInferrableTypes": "off", | |
"noNonNullAssertion": "off", | |
"noParameterAssign": "error", | |
"noUnusedTemplateLiteral": "error", | |
"noUselessElse": "error", | |
"useAsConstAssertion": "error", | |
"useConst": "error", | |
"useDefaultParameterLast": "error", | |
"useEnumInitializers": "error", | |
"useExponentiationOperator": "error", | |
"useExportType": "error", | |
"useImportType": "warn", | |
"useLiteralEnumMembers": "error", | |
"useNodejsImportProtocol": "error", | |
"useNumberNamespace": "error", | |
"useNumericLiterals": "error", | |
"useSelfClosingElements": "error", | |
"useShorthandFunctionType": "error", | |
"useSingleVarDeclarator": "error", | |
"useTemplate": "error" | |
}, | |
"suspicious": { "noAssignInExpressions": "off", "noExplicitAny": "off" } | |
} | |
}, | |
"javascript": { | |
"parser": { "unsafeParameterDecoratorsEnabled": true }, | |
"formatter": { | |
"jsxQuoteStyle": "double", | |
"quoteProperties": "asNeeded", | |
"trailingCommas": "all", | |
"semicolons": "always", | |
"arrowParentheses": "always", | |
"bracketSameLine": true, | |
"lineWidth": 100, | |
"quoteStyle": "single", | |
"attributePosition": "auto", | |
"bracketSpacing": true | |
} | |
}, | |
"html": { "formatter": { "enabled": true, "bracketSameLine": true } }, | |
"assist": { | |
"enabled": true, | |
"actions": { "source": { "organizeImports": "on" } } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment