biome/biome.json
Arend van Beelen jr. ebbddc4612
Some checks failed
Benchmarks / Bench (push) Has been cancelled
Repository dispatch on main / Build @biomejs/wasm-web (push) Has been cancelled
Repository dispatch on main / Repository dispatch (push) Has been cancelled
feat(core): add force-ignore syntax to files.includes (#7359)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-31 15:51:06 +02:00

89 lines
1.9 KiB
JSON

{
"$schema": "./packages/@biomejs/biome/configuration_schema.json",
"assist": {
"enabled": true,
"includes": [
"**",
"!./packages/@biomejs/biome/configuration_schema.json"
],
"actions": {
"source": {
"useSortedKeys": "off",
"organizeImports": "on"
}
}
},
"css": {
"linter": {
"enabled": true
}
},
"files": {
"includes": [
"**/packages/aria-data/*.js",
"**/packages/@biomejs/**",
"**/packages/tailwindcss-config-analyzer/**",
"**/benchmark/**",
"plugins/*.js",
"scripts/**",
"!**/crates",
"!**/dist",
"!**/packages/@biomejs/backend-jsonrpc/src/workspace.ts",
"!**/__snapshots__",
"!**/undefined",
"!**/benchmark/target",
"!**/benches",
"!!**/target",
"!!.cargo"
]
},
"formatter": {
"includes": [
"**",
"!**/configuration_schema.json"
]
},
"json": {
"formatter": {
"indentStyle": "space",
"lineWidth": 1
}
},
"linter": {
"enabled": true,
"rules": {
"style": {
"noParameterAssign": "error",
"useDefaultParameterLast": "error",
"useSingleVarDeclarator": "error",
"useConst": "error",
"noInferrableTypes": "error",
"noUselessElse": "error",
"useSelfClosingElements": "error",
"useNumberNamespace": "error",
"useAsConstAssertion": "error",
"noUnusedTemplateLiteral": "error",
"useTemplate": "error",
"useEnumInitializers": "error"
},
"correctness": {
"noUndeclaredDependencies": "error"
},
"suspicious": {
"noVar": "on"
},
"nursery": {
"noFloatingPromises": "error",
"noImportCycles": "error"
}
}
},
"plugins": [
"plugins/no-object-assign.grit"
],
"vcs": {
"clientKind": "git",
"enabled": true,
"useIgnoreFile": true
}
}