mirror of
https://github.com/supabase/supabase.git
synced 2026-10-07 10:25:06 +03:00
## Problem six apps had no shared lint checks for invalid tailwind classes, off-scale values, and raw colors. ## Solution add @shadcn/lint warnings with narrow exceptions for existing theme colors and artwork. fix several invalid classes. the existing lint command reports findings without blocking prs on the current warning count. ## Review instructions 1. check the shared rules and app-specific exceptions. 2. run `pnpm --filter design-system lint` and confirm it reports shadcn warnings without errors. ## Checklist Check all before review: - [x] I have read [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) - [x] If I wrote a new docs topic or edited an existing topic, I used the `/write-the-docs` or `/edit-the-docs` skill, which references [WORD_LIST](https://github.com/supabase/supabase/blob/master/apps/docs/WORD_LIST.md) and the docs [CONTRIBUTING](https://github.com/supabase/supabase/blob/master/apps/docs/CONTRIBUTING.md) guide <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Improved vertical alignment of checkbox labels and supporting text in dialogs, settings, and examples. * Corrected alignment of organization member details and the color styling of deprecated chart text. * Standardized spacing in the date and time editor without changing its appearance or behavior. * **Developer Experience** * Updated linting and UI configuration across several apps to support consistent style checks. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
21 lines
543 B
JSON
21 lines
543 B
JSON
{
|
|
"name": "eslint-config-supabase",
|
|
"version": "1.0.0",
|
|
"main": "next.js",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"preinstall": "npx only-allow pnpm",
|
|
"clean": "rimraf .turbo tsconfig.tsbuildinfo"
|
|
},
|
|
"devDependencies": {
|
|
"@shadcn/lint": "0.1.5",
|
|
"@tanstack/eslint-plugin-query": "^5.0.0",
|
|
"@typescript-eslint/parser": "^8.48.0",
|
|
"@typescript/native": "catalog:",
|
|
"eslint-config-next": "^16.0.0",
|
|
"eslint-config-prettier": "^10.0.0",
|
|
"eslint-config-turbo": "^2.5.0",
|
|
"typescript": "catalog:"
|
|
}
|
|
}
|