|
| 1 | +{ |
| 2 | + "$schema": "https://biomejs.dev/schemas/2.2.4/schema.json", |
| 3 | + "vcs": { "enabled": false, "clientKind": "git", "useIgnoreFile": false }, |
| 4 | + "files": { "ignoreUnknown": false }, |
| 5 | + "formatter": { |
| 6 | + "enabled": true, |
| 7 | + "formatWithErrors": false, |
| 8 | + "indentStyle": "space", |
| 9 | + "indentWidth": 2, |
| 10 | + "lineEnding": "lf", |
| 11 | + "lineWidth": 95, |
| 12 | + "attributePosition": "auto", |
| 13 | + "bracketSameLine": false, |
| 14 | + "bracketSpacing": true, |
| 15 | + "expand": "auto", |
| 16 | + "useEditorconfig": true, |
| 17 | + // Keep this in sync with .prettierignore. |
| 18 | + "includes": [ |
| 19 | + "**", |
| 20 | + "!**/test/data/*", |
| 21 | + "!**/*.css", |
| 22 | + "!**/*.html", |
| 23 | + "!**/*.ohm-bundle.*", |
| 24 | + "!**/dist", |
| 25 | + "!**/pnpm-lock.yaml", |
| 26 | + "!**/testdata", |
| 27 | + "!**/third_party", |
| 28 | + "!**/visualizer", |
| 29 | + "!packages/wasm/runtime/**" |
| 30 | + ] |
| 31 | + }, |
| 32 | + "linter": { "enabled": false }, |
| 33 | + "javascript": { |
| 34 | + // These options should be kept in sync with .pretterrc. |
| 35 | + // We do that because various editors read the prettier config. |
| 36 | + "formatter": { |
| 37 | + "bracketSpacing": false, |
| 38 | + "quoteStyle": "single", |
| 39 | + "trailingCommas": "es5", |
| 40 | + "arrowParentheses": "asNeeded", // "avoid" not supported in biome |
| 41 | + // printWidth: see `lineWidth` above |
| 42 | + |
| 43 | + "jsxQuoteStyle": "double", |
| 44 | + "quoteProperties": "asNeeded", |
| 45 | + "semicolons": "always", |
| 46 | + "bracketSameLine": false, |
| 47 | + "attributePosition": "auto" |
| 48 | + } |
| 49 | + }, |
| 50 | + "html": { "formatter": { "selfCloseVoidElements": "always" } }, |
| 51 | + "assist": { |
| 52 | + "enabled": true, |
| 53 | + "actions": { "source": { "organizeImports": "on" } } |
| 54 | + } |
| 55 | +} |
0 commit comments