{ "$schema": "https://biomejs.dev/schemas/2.2.2/schema.json", "assist": { "actions": { "source": { "organizeImports": "on" } } }, "formatter": { "enabled": true, "formatWithErrors": false, "includes": ["**"], "attributePosition": "auto", "indentStyle": "tab", "indentWidth": 4, "lineEnding": "lf", "lineWidth": 100 }, "linter": { "enabled": true, "rules": { "recommended": true, "correctness": { "noUnusedImports": "warn", "noUnusedVariables": "warn", "useUniqueElementIds": "warn" }, "complexity": { "noExcessiveCognitiveComplexity": "error", "noUselessFragments": "off" }, "style": { "useConsistentArrayType": "warn", "useFilenamingConvention": { "level": "error", "options": { "filenameCases": ["PascalCase", "export"] } }, "useForOf": "warn", "useNamingConvention": { "level": "error", "options": { "requireAscii": true, "conventions": [ { "selector": { "kind": "objectLiteralProperty" }, "formats": ["snake_case", "camelCase"] }, { "selector": { "kind": "typeMember" }, "formats": ["snake_case", "camelCase", "PascalCase"] }, { "selector": { "kind": "typeMember" }, "formats": ["snake_case", "camelCase", "PascalCase"] } ] } }, "useShorthandAssign": "warn" }, "suspicious": { "useAwait": "warn", "noConsole": { "level": "warn", "options": { "allow": ["log"] } }, "noDuplicateElseIf": "warn", "noAssignInExpressions": "off" }, "nursery": {} } }, "overrides": [ { "includes": [ "**/src/utils/**/*", "**/src/api/**/*", "**/types.ts", "**/*.ts", "**/hooks/**/*" ], "linter": { "rules": { "style": { "useFilenamingConvention": { "level": "error", "options": { "filenameCases": ["camelCase", "export"] } } } } } }, { "includes": ["**/src/appStylingPrimitives/**/*"], "linter": { "rules": { "style": { "useNamingConvention": "off" } } } } ], "vcs": { "enabled": true, "clientKind": "git" }, "files": { "includes": [ "**", "!**/*.config.js", "!**/*.d.ts", "!**/dist", "!**/android", "!**/ios", "!**/node_modules", "!**/.expo", "!**/.vscode" ] } }