mirror of
https://github.com/element-hq/matrix-authentication-service.git
synced 2026-03-29 08:50:10 +00:00
61 lines
1.5 KiB
JSON
61 lines
1.5 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/2.2.4/schema.json",
|
|
"assist": { "actions": { "source": { "organizeImports": "on" } } },
|
|
"vcs": {
|
|
"enabled": true,
|
|
"clientKind": "git",
|
|
"useIgnoreFile": true
|
|
},
|
|
"files": {
|
|
"includes": [
|
|
"**",
|
|
"!**/.devcontainer/**",
|
|
"!**/docs/**",
|
|
"!**/translations/**",
|
|
"!**/policies/**",
|
|
"!**/crates/**",
|
|
"!**/frontend/package.json",
|
|
"!**/frontend/src/gql/**",
|
|
"!**/frontend/src/routeTree.gen.ts",
|
|
"!**/frontend/.storybook/locales.ts",
|
|
"!**/frontend/.storybook/public/mockServiceWorker.js",
|
|
"!**/frontend/locales/**/*.json",
|
|
"!**/coverage/**",
|
|
"!**/dist/**"
|
|
]
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"useEditorconfig": true
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"recommended": true,
|
|
"complexity": {
|
|
"noImportantStyles": "off"
|
|
},
|
|
"suspicious": {
|
|
"noUnknownAtRules": "off"
|
|
},
|
|
"correctness": {
|
|
"noUnusedImports": "warn",
|
|
"noUnusedVariables": "warn"
|
|
},
|
|
"style": {
|
|
"noParameterAssign": "error",
|
|
"useAsConstAssertion": "error",
|
|
"useDefaultParameterLast": "error",
|
|
"useEnumInitializers": "error",
|
|
"useSelfClosingElements": "error",
|
|
"useSingleVarDeclarator": "error",
|
|
"noUnusedTemplateLiteral": "error",
|
|
"useNumberNamespace": "error",
|
|
"noInferrableTypes": "error",
|
|
"noUselessElse": "error",
|
|
"noDescendingSpecificity": "off"
|
|
}
|
|
}
|
|
}
|
|
}
|