webapp/biome.json

101 lines
2.1 KiB
JSON
Raw Normal View History

2024-02-03 19:40:33 +00:00
{
2024-06-24 17:50:27 +00:00
"$schema": "https://biomejs.dev/schemas/1.8.2/schema.json",
2024-02-04 11:55:38 +00:00
"files": {
2024-06-24 17:50:27 +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",
"useIgnoreFile": true
},
2024-02-03 19:40:33 +00:00
"organizeImports": {
2024-02-04 11:25:21 +00:00
"enabled": true,
2024-06-24 17:50:27 +00:00
"ignore": [
"./api",
"./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-24 17:50:27 +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",
"arrowParentheses": "always"
}
},
"linter": {
2024-06-24 17:50:27 +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": {
"useHookAtTopLevel": "off"
},
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",
"noSvgWithoutTitle": "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-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",
"useFilenamingConvention": "off"
2024-02-03 19:40:33 +00:00
},
"suspicious": {
2024-02-04 09:03:15 +00:00
"noConsoleLog": "off",
"noAssignInExpressions": "off"
2024-02-03 19:40:33 +00:00
}
}
}
2024-06-24 17:50:27 +00:00
}