Files
compiler-explorer/biome.json
2025-02-02 17:54:31 +00:00

77 lines
1.8 KiB
JSON

{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"files": {
"ignore": [
"examples/**/*",
"node_modules/**/*",
"out/**/*",
"coverage/**/*",
"etc/**/*",
"static/policies/*.html",
"lib/storage/data/**/*",
"lib/asm-docs/generated/**/*",
"test/**/*.json",
"tsconfig*.json"
]
},
"linter": {
"rules": {
"suspicious": {
"noExplicitAny": "off",
"noImplicitAnyLet": "off",
"noAssignInExpressions": "off",
"noControlCharactersInRegex": "off",
"noShadowRestrictedNames": "off",
"noFallthroughSwitchClause": "off",
"noDoubleEquals": "off",
"noConfusingVoidType": "off"
},
"style": {
"noParameterAssign": "off",
"noNonNullAssertion": "off",
"useLiteralEnumMembers": "off",
"useImportType": "off",
"useTemplate": "off"
},
"correctness": {
"noVoidTypeReturn": "off",
"noUnsafeOptionalChaining": "off"
},
"performance": {
"noAccumulatingSpread": "off",
"noDelete": "off"
},
"complexity": {
"noStaticOnlyClass": "off",
"noForEach": "off",
"noBannedTypes": "off",
"useLiteralKeys": "off"
}
}
},
"formatter": {
"enabled": true,
"attributePosition": "auto",
"indentStyle": "space",
"indentWidth": 4,
"lineWidth": 120,
"lineEnding": "lf"
},
"javascript": {
"formatter": {
"arrowParentheses": "asNeeded",
"bracketSameLine": false,
"bracketSpacing": false,
"quoteProperties": "asNeeded",
"semicolons": "always",
"trailingCommas": "all",
"quoteStyle": "single"
}
},
"json": {
"formatter": {
"indentWidth": 2
}
}
}