diff --git a/biome.json b/biome.json index 04be2f7..80cc8c9 100644 --- a/biome.json +++ b/biome.json @@ -1,4 +1,10 @@ { + "$schema": "https://biomejs.dev/schemas/2.2.0/schema.json", + "vcs": { + "enabled": true, + "clientKind": "git", + "useIgnoreFile": true + }, "files": { "includes": [ "src/**/*.ts", @@ -11,7 +17,9 @@ "!vendor/**", "!.claude/**", "!services/**/dist/**", - "!packages/**/dist/**" + "!packages/**/dist/**", + "!services/**/.next/**", + "!services/**/out/**" ] }, "formatter": { @@ -22,10 +30,40 @@ "linter": { "enabled": true, "rules": { - "recommended": false, + "recommended": true, "style": { "noNonNullAssertion": "warn", "useNodejsImportProtocol": "warn" + }, + "suspicious": { + "noUnknownAtRules": "off", + "useIterableCallbackReturn": "off", + "noArrayIndexKey": "warn" + }, + "a11y": { + "useButtonType": "off", + "noAutofocus": "off" + }, + "performance": { + "noImgElement": "warn" + }, + "security": { + "noDangerouslySetInnerHtml": "warn" + }, + "correctness": { + "noInvalidUseBeforeDeclaration": "off", + "noUnusedFunctionParameters": "warn" + } + }, + "domains": { + "next": "recommended", + "react": "recommended" + } + }, + "assist": { + "actions": { + "source": { + "organizeImports": "on" } } } diff --git a/services/frontend/biome.json b/services/frontend/biome.json deleted file mode 100644 index 35c6cec..0000000 --- a/services/frontend/biome.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "$schema": "https://biomejs.dev/schemas/2.2.0/schema.json", - "vcs": { - "enabled": true, - "clientKind": "git", - "useIgnoreFile": true - }, - "files": { - "ignoreUnknown": true, - "includes": ["**", "!node_modules", "!.next", "!dist", "!build"] - }, - "formatter": { - "enabled": true, - "indentStyle": "space", - "indentWidth": 2 - }, - "linter": { - "enabled": true, - "rules": { - "recommended": true, - "suspicious": { - "noUnknownAtRules": "off", - "useIterableCallbackReturn": "off", - "noArrayIndexKey": "warn" - }, - "a11y": { - "useButtonType": "off", - "noAutofocus": "off" - }, - "performance": { - "noImgElement": "warn" - }, - "security": { - "noDangerouslySetInnerHtml": "warn" - }, - "correctness": { - "noInvalidUseBeforeDeclaration": "off", - "noUnusedFunctionParameters": "warn" - } - }, - "domains": { - "next": "recommended", - "react": "recommended" - } - }, - "assist": { - "actions": { - "source": { - "organizeImports": "on" - } - } - } -} diff --git a/services/frontend/components.json b/services/frontend/components.json deleted file mode 100644 index 8d886db..0000000 --- a/services/frontend/components.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "$schema": "https://ui.shadcn.com/schema.json", - "style": "base-nova", - "rsc": true, - "tsx": true, - "tailwind": { - "config": "", - "css": "src/app/globals.css", - "baseColor": "neutral", - "cssVariables": true, - "prefix": "" - }, - "iconLibrary": "lucide", - "rtl": false, - "aliases": { - "components": "@/components", - "utils": "@/lib/utils", - "ui": "@/components/ui", - "lib": "@/lib", - "hooks": "@/hooks" - }, - "menuColor": "default", - "menuAccent": "subtle", - "registries": {} -}