12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- {
- "$schema": "https://biomejs.dev/schemas/1.8.1/schema.json",
- "organizeImports": {
- "enabled": true
- },
- "linter": {
- "enabled": true,
- "rules": {
- "recommended": true,
- "suspicious": {
- "noExplicitAny": "off",
- "noAssignInExpressions": "warn",
- "noExportsInTest": "warn",
- "noShadowRestrictedNames": "off"
- },
- "style": {
- "noParameterAssign": "warn",
- "useImportType": "off"
- },
- "complexity": {
- "noForEach": "warn",
- "noUselessCatch": "warn",
- "noBannedTypes": "warn"
- }
- }
- },
- "formatter": {
- "enabled": true,
- "formatWithErrors": false,
- "indentStyle": "space",
- "indentWidth": 2,
- "lineEnding": "lf",
- "lineWidth": 150,
- "attributePosition": "auto"
- },
- "javascript": {
- "formatter": {
- "jsxQuoteStyle": "double",
- "quoteProperties": "asNeeded",
- "trailingCommas": "all",
- "semicolons": "always",
- "arrowParentheses": "always",
- "bracketSpacing": true,
- "bracketSameLine": false,
- "quoteStyle": "single",
- "attributePosition": "auto"
- }
- },
- "json": {
- "formatter": {
- "trailingCommas": "none"
- }
- },
- "files": {
- "ignore": ["node_modules"],
- "include": ["**/*.ts", "**/*.js", "**/*.json", "**/*.mjs"]
- }
- }
|