This commit is contained in:
parent
65139bf8d0
commit
44431c4e66
71 changed files with 2262 additions and 1173 deletions
93
biome.json
Normal file
93
biome.json
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
{
|
||||
"$schema": "https://biomejs.dev/schemas/2.4.16/schema.json",
|
||||
"vcs": {
|
||||
"enabled": true,
|
||||
"clientKind": "git",
|
||||
"useIgnoreFile": true
|
||||
},
|
||||
"files": {
|
||||
"includes": [
|
||||
"*.json",
|
||||
"*.ts",
|
||||
".forgejo/workflows/*.yml",
|
||||
"apps/**",
|
||||
"deployment/docker/workspace-root/package.json",
|
||||
"packages/**",
|
||||
"scripts/**",
|
||||
"services/**",
|
||||
"!**/node_modules",
|
||||
"!**/.next",
|
||||
"!**/dist",
|
||||
"!**/out",
|
||||
"!**/coverage",
|
||||
"!apps/web/tsconfig.tsbuildinfo"
|
||||
]
|
||||
},
|
||||
"formatter": {
|
||||
"enabled": true,
|
||||
"indentStyle": "space",
|
||||
"indentWidth": 2,
|
||||
"lineWidth": 100
|
||||
},
|
||||
"linter": {
|
||||
"enabled": true,
|
||||
"rules": {
|
||||
"recommended": true,
|
||||
"a11y": {
|
||||
"useAriaPropsSupportedByRole": "off",
|
||||
"useFocusableInteractive": "off",
|
||||
"useSemanticElements": "off"
|
||||
},
|
||||
"complexity": {
|
||||
"noImportantStyles": "off",
|
||||
"noUselessContinue": "off",
|
||||
"noUselessSwitchCase": "off",
|
||||
"noUselessUndefinedInitialization": "off",
|
||||
"useOptionalChain": "off"
|
||||
},
|
||||
"correctness": {
|
||||
"useExhaustiveDependencies": "off",
|
||||
"noUnusedFunctionParameters": "off",
|
||||
"noUnusedImports": "off",
|
||||
"noUnusedVariables": "off"
|
||||
},
|
||||
"suspicious": {
|
||||
"noArrayIndexKey": "off",
|
||||
"noControlCharactersInRegex": "off",
|
||||
"noExplicitAny": "off",
|
||||
"noAssignInExpressions": "off",
|
||||
"noShorthandPropertyOverrides": "off"
|
||||
},
|
||||
"security": {
|
||||
"noDangerouslySetInnerHtml": "off"
|
||||
},
|
||||
"style": {
|
||||
"noDescendingSpecificity": "off",
|
||||
"noNonNullAssertion": "off",
|
||||
"useExponentiationOperator": "off",
|
||||
"useImportType": "off",
|
||||
"useTemplate": "off"
|
||||
}
|
||||
}
|
||||
},
|
||||
"javascript": {
|
||||
"formatter": {
|
||||
"quoteStyle": "double",
|
||||
"semicolons": "always",
|
||||
"trailingCommas": "none"
|
||||
}
|
||||
},
|
||||
"json": {
|
||||
"parser": {
|
||||
"allowComments": true,
|
||||
"allowTrailingCommas": true
|
||||
}
|
||||
},
|
||||
"assist": {
|
||||
"actions": {
|
||||
"source": {
|
||||
"organizeImports": "on"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue