mirror of
https://github.com/di-sukharev/opencommit.git
synced 2026-04-20 03:02:51 -04:00
For developers who prefer Biome, this config mirrors the existing .prettierrc rules (single quotes, no trailing commas) and ESLint rules (recommended rules, no-console as error, import sorting via assist). This is not a replacement — Prettier and ESLint remain the primary tooling. biome.json is an opt-in for those who already use Biome.
53 lines
876 B
JSON
53 lines
876 B
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/2.4.10/schema.json",
|
|
|
|
"vcs": {
|
|
"enabled": true,
|
|
"clientKind": "git",
|
|
"useIgnoreFile": true
|
|
},
|
|
|
|
"files": {
|
|
"ignoreUnknown": true,
|
|
"includes": ["**", "!!build", "!!dist", "!!out"]
|
|
},
|
|
|
|
"formatter": {
|
|
"enabled": true,
|
|
"indentStyle": "space",
|
|
"indentWidth": 2,
|
|
"lineEnding": "lf"
|
|
},
|
|
|
|
"javascript": {
|
|
"formatter": {
|
|
"quoteStyle": "single",
|
|
"jsxQuoteStyle": "double",
|
|
"trailingCommas": "none",
|
|
"semicolons": "always"
|
|
}
|
|
},
|
|
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"recommended": true,
|
|
"suspicious": {
|
|
"noConsole": "error"
|
|
},
|
|
"style": {
|
|
"noNonNullAssertion": "off"
|
|
}
|
|
}
|
|
},
|
|
|
|
"assist": {
|
|
"enabled": true,
|
|
"actions": {
|
|
"source": {
|
|
"organizeImports": "on"
|
|
}
|
|
}
|
|
}
|
|
}
|