webapp/biome.json

74 lines
1.8 KiB
JSON
Raw Normal View History

2024-02-03 19:40:33 +00:00
{
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
2024-02-04 11:55:38 +00:00
"files": {
"include": ["*.tsx", "*.ts", "*.js", "*.json"],
2024-02-04 12:01:47 +00:00
"ignore": ["./dist", "./node_modules", ".husky", "docs", "gen"]
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,
"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-02-04 11:21:04 +00:00
"ignore": ["./src/graphql/schema", "./gen"]
2024-02-03 19:40:33 +00:00
},
"javascript": {
"formatter": {
"semicolons": "asNeeded",
"quoteStyle": "single",
"trailingComma": "all",
"enabled": true,
"jsxQuoteStyle": "double",
"arrowParentheses": "always"
}
},
"linter": {
2024-02-04 10:37:43 +00:00
"ignore": ["*.scss", "*.md", ".DS_Store", "*.svg"],
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",
"useLiteralKeys": "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-02-05 15:04:23 +00:00
"useImportRestrictions": "off",
"useImportType": "off",
"useFilenamingConvention": "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-02-05 15:04:23 +00:00
"noDefaultExport": "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
}
}
}
}