mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 12:54:00 -05:00
74 lines
1.7 KiB
JSON
74 lines
1.7 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",
|
|
"noFallthroughSwitchClause": "off",
|
|
"noDoubleEquals": "off"
|
|
},
|
|
"style": {
|
|
"noParameterAssign": "off",
|
|
"noNonNullAssertion": "off",
|
|
"useImportType": "off",
|
|
"useTemplate": "off"
|
|
},
|
|
"correctness": {
|
|
"noUnsafeOptionalChaining": "off",
|
|
"noUnusedImports": "error"
|
|
},
|
|
"performance": {
|
|
"noAccumulatingSpread": "off",
|
|
"noDelete": "off"
|
|
},
|
|
"complexity": {
|
|
"noStaticOnlyClass": "off",
|
|
"noForEach": "off",
|
|
"useLiteralKeys": "off",
|
|
"noThisInStatic": "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
|
|
}
|
|
}
|
|
}
|