Files
compiler-explorer/biome.json
mattgodbolt-molty 0147acba30 chore: exclude webpack-patches from Biome linting
The patch files in static/webpack-patches/ are derived from third-party
Monaco source and should not be linted as CE code.

🤖 Generated by LLM (Claude, via OpenClaw)
2026-03-12 18:49:55 -05:00

109 lines
2.4 KiB
JSON

{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"files": {
"includes": [
"cypress/**",
"docs/**",
"lib/**",
"public/**",
"shared/**",
"static/**",
"test/**",
"types/**",
"views/**",
"!static/policies/*.html",
"!lib/storage/data/**/*",
"!lib/asm-docs/generated/**/*",
"!test/**/*.json",
"!static/webpack-patches"
]
},
"overrides": [
{
"includes": ["static/**", "shared/**"],
"linter": {
"rules": {
"suspicious": {
"noPrototypeBuiltins": "off"
}
}
}
}
],
"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",
"noUnusedFunctionParameters": "off"
},
"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"
}
},
"assist": {
"actions": {
"source": {
"organizeImports": {
"level": "on",
"options": {
"groups": [
":NODE:",
":BLANK_LINE:",
[":PACKAGE:", ":PACKAGE_WITH_PROTOCOL:", ":URL:"],
":BLANK_LINE:",
[":ALIAS:", ":PATH:"]
]
}
}
}
}
},
"json": {
"formatter": {
"indentWidth": 2
}
}
}