12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- {
- "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
- "vcs": {
- "enabled": true,
- "clientKind": "git",
- "useIgnoreFile": true,
- "defaultBranch": "master"
- },
- "organizeImports": {
- "enabled": false
- },
- "linter": {
- "enabled": true,
- "rules": {
- "recommended": false,
- "nursery": {
- "noDuplicateJsonKeys": "error",
- "useExportType": "error",
- "useImportType": "error"
- }
- }
- },
- "files": {
- "ignoreUnknown": true,
- "ignore": [
- "**/*/trace.json",
- "static/app/data/world.json",
- "**/*.sourcemap.js",
- "**/*.min.js",
- "fixtures"
- ]
- },
- "formatter": {
- "enabled": true,
- "formatWithErrors": true,
- "indentStyle": "space",
- "indentWidth": 2,
- "lineEnding": "lf",
- "ignore": ["tests/**/*.json"]
- },
- "javascript": {
- "formatter": {
- "enabled": true,
- "lineWidth": 90,
- "quoteStyle": "single",
- "jsxQuoteStyle": "double",
- "quoteProperties": "asNeeded",
- "trailingComma": "es5",
- "semicolons": "always",
- "arrowParentheses": "asNeeded",
- "bracketSpacing": false,
- "bracketSameLine": false
- }
- },
- "json": {
- "formatter": {
- "enabled": true
- },
- "parser": {
- "allowComments": true,
- "allowTrailingCommas": true
- }
- }
- }
|