webapp/biome.json
Untone 12f65dfe31
Some checks failed
deploy / Linting (push) Failing after 45s
deploy / Run end-to-end tests (push) Failing after 1m42s
deploy / Update templates on Mailgun (push) Has been skipped
deploy / Github (push) Failing after 2s
fmt-lint-ignore-fix
2024-02-04 13:37:43 +03:00

62 lines
1.4 KiB
JSON

{
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
"vcs": {
"defaultBranch": "dev",
"useIgnoreFile": true
},
"organizeImports": {
"enabled": true
},
"formatter": {
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 108,
"ignore": ["./src/graphql/schema"]
},
"javascript": {
"formatter": {
"semicolons": "asNeeded",
"quoteStyle": "single",
"trailingComma": "all",
"enabled": true,
"jsxQuoteStyle": "double",
"arrowParentheses": "always"
}
},
"linter": {
"ignore": ["*.scss", "*.md", ".DS_Store", "*.svg"],
"enabled": true,
"rules": {
"recommended": true,
"complexity": {
"noForEach": "off",
"useOptionalChain": "warn",
"useLiteralKeys": "off"
},
"a11y": {
"useHeadingContent": "off",
"useKeyWithClickEvents": "off",
"useKeyWithMouseEvents": "off",
"useAnchorContent": "off",
"useValidAnchor": "off",
"useMediaCaption": "off",
"useAltText": "off",
"useButtonType": "off",
"noRedundantAlt": "off",
"noSvgWithoutTitle": "off"
},
"nursery": {
"useImportRestrictions": "off"
},
"style": {
"useNamingConvention": "off",
"noUnusedTemplateLiteral": "off"
},
"suspicious": {
"noConsoleLog": "off",
"noAssignInExpressions": "off"
}
}
}
}