webapp/biome.json

87 lines
2.2 KiB
JSON
Raw Normal View History

2024-02-03 19:40:33 +00:00
{
2024-10-02 20:12:14 +00:00
"$schema": "https://biomejs.dev/schemas/1.9.3/schema.json",
2024-02-04 11:55:38 +00:00
"files": {
2024-06-26 08:22:05 +00:00
"include": ["*.tsx", "*.ts", "*.js", "*.json"],
"ignore": ["./dist", "./node_modules", ".husky", "docs", "gen", "*.gen.ts", "*.d.ts"]
2024-02-04 11:55:38 +00:00
},
2024-02-04 10:34:27 +00:00
"vcs": {
"defaultBranch": "dev",
2024-06-28 07:47:38 +00:00
"useIgnoreFile": true,
"enabled": true,
"clientKind": "git"
2024-02-04 10:34:27 +00:00
},
2024-02-03 19:40:33 +00:00
"organizeImports": {
2024-02-04 11:25:21 +00:00
"enabled": true,
2024-06-28 07:47:38 +00:00
"ignore": ["./gen"]
2024-02-03 19:40:33 +00:00
},
"formatter": {
"indentStyle": "space",
"indentWidth": 2,
2024-02-04 10:34:27 +00:00
"lineWidth": 108,
2024-06-26 08:22:05 +00:00
"ignore": ["./src/graphql/schema", "./gen"]
2024-02-03 19:40:33 +00:00
},
"javascript": {
"formatter": {
"semicolons": "asNeeded",
"quoteStyle": "single",
"enabled": true,
"jsxQuoteStyle": "double",
2024-06-26 08:22:05 +00:00
"arrowParentheses": "always",
"trailingCommas": "none"
2024-02-03 19:40:33 +00:00
}
},
"linter": {
2024-06-26 08:22:05 +00:00
"ignore": ["*.scss", "*.md", ".DS_Store", "*.svg", "*.d.ts"],
2024-02-03 19:40:33 +00:00
"enabled": true,
"rules": {
2024-02-05 15:49:08 +00:00
"all": true,
2024-02-03 19:40:33 +00:00
"complexity": {
2024-02-04 09:03:15 +00:00
"noForEach": "off",
2024-02-04 09:26:45 +00:00
"useOptionalChain": "warn",
2024-05-01 14:33:37 +00:00
"useLiteralKeys": "off",
"noExcessiveCognitiveComplexity": "off"
2024-02-04 09:03:15 +00:00
},
2024-02-05 15:49:08 +00:00
"correctness": {
2024-09-15 18:43:35 +00:00
"useHookAtTopLevel": "off",
"useImportExtensions": "off",
"noUndeclaredDependencies": "off"
2024-02-05 15:49:08 +00:00
},
2024-02-04 09:03:15 +00:00
"a11y": {
2024-02-04 09:23:20 +00:00
"useHeadingContent": "off",
2024-02-04 09:03:15 +00:00
"useKeyWithClickEvents": "off",
"useKeyWithMouseEvents": "off",
"useAnchorContent": "off",
"useValidAnchor": "off",
"useMediaCaption": "off",
"useAltText": "off",
"useButtonType": "off",
"noRedundantAlt": "off",
2024-09-15 18:43:35 +00:00
"noSvgWithoutTitle": "off",
"noLabelWithoutControl": "off"
2024-02-03 19:40:33 +00:00
},
"nursery": {
2024-05-01 14:33:37 +00:00
"useImportRestrictions": "off"
},
"performance": {
"noBarrelFile": "off"
2024-02-03 19:40:33 +00:00
},
"style": {
2024-09-15 18:43:35 +00:00
"noNonNullAssertion": "off",
2024-06-26 08:22:05 +00:00
"noNamespaceImport": "warn",
2024-02-05 15:04:23 +00:00
"useBlockStatements": "off",
"noImplicitBoolean": "off",
2024-02-04 09:03:15 +00:00
"useNamingConvention": "off",
2024-05-01 14:33:37 +00:00
"useImportType": "off",
"noDefaultExport": "off",
2024-09-15 18:43:35 +00:00
"useFilenamingConvention": "off",
"useExplicitLengthCheck": "off"
2024-02-03 19:40:33 +00:00
},
"suspicious": {
2024-09-15 18:43:35 +00:00
"noConsole": "off",
2024-02-04 09:03:15 +00:00
"noConsoleLog": "off",
"noAssignInExpressions": "off"
2024-02-03 19:40:33 +00:00
}
}
}
2024-06-26 08:22:05 +00:00
}