mirror of
https://github.com/cline/cline.git
synced 2026-09-19 02:05:44 +08:00
* Set up Tailwind v4 npx @tailwindcss/upgrade 1 ↵ ≈ tailwindcss v4.1.13 │ Searching for CSS files in the current directory and its subdirectories… │ Migrating stylesheets… │ ↳ Migrated stylesheet: `./src/index.css` │ Updating dependencies… │ ↳ Updated package: `tailwindcss` │ ↳ Updated package: `@tailwindcss/vite` │ Migrating templates… │ ↳ Migrated templates for: `./src/index.css` │ Verify the changes and commit them to your repository. * Migrate HeroUITooltip to radix-ui shadcn components * import main.css * Update e2e test text * clean up * Update mode switch test * Fix auto approve modal z-index number * Unify styles with theme * fix spacing and sizes * update logo id * Fix e2e test * Clean up * npm install tailwindcss @tailwindcss/vite * npx @tailwindcss/upgrade ≈ tailwindcss v4.1.14 │ ↳ Upgrading from Tailwind CSS `v4.1.14` │ Searching for CSS files in the current directory and its subdirectories… │ Migrating stylesheets… │ ↳ Migrated stylesheet: `./webview-ui/src/index.css` │ Updating dependencies… │ ↳ Updated package: `tailwindcss` │ ↳ Updated package: `@tailwindcss/vite` │ Migrating templates… │ ↳ Migrated templates for: `./webview-ui/src/index.css` │ Verify the changes and commit them to your repository. * clean up * clean up * Remove DRY code and update descriptionForeground class name * Update TaskHeader classnames * unify font size * clean up * update test with clear test id * size * Fix tooltip trigger in settings * Apply feedback - hide arrow for autoapprove menu * Align chat toolbox icon stylings * update data-testid * set * CheckpointError * feat: arrow alignment issues * text-wrap tooltip * feat: mcp tooltip arrow fix --------- Co-authored-by: Jose R. Perez <trupix@gmail.com>
167 lines
3.9 KiB
JSON
167 lines
3.9 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/2.1.4/schema.json",
|
|
"vcs": {
|
|
"enabled": true,
|
|
"clientKind": "git",
|
|
"useIgnoreFile": true,
|
|
"defaultBranch": "main"
|
|
},
|
|
"assist": {
|
|
"enabled": true,
|
|
"actions": {
|
|
"source": {
|
|
"organizeImports": "on",
|
|
"useSortedAttributes": "on"
|
|
}
|
|
}
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"domains": {
|
|
"react": "recommended"
|
|
},
|
|
// Ideally we would want to turn on all the rules that are currently off,
|
|
// keeping them off currently to make sure only changes on the migrations
|
|
// are included in the initial PR before we apply the format and lint changes.
|
|
// TODO: turn on all rules that are currently off if applicable.
|
|
// TODO: Remove --diagnostic-level=error from CI commands.
|
|
"rules": {
|
|
"recommended": true,
|
|
"correctness": {
|
|
"useExhaustiveDependencies": "off",
|
|
"noUndeclaredVariables": "off",
|
|
"noEmptyPattern": "off",
|
|
"useJsxKeyInIterable": "off",
|
|
"noInnerDeclarations": "off",
|
|
"useHookAtTopLevel": "off",
|
|
"useYield": "off",
|
|
"noConstructorReturn": "off",
|
|
"noInvalidPositionAtImportRule": "off",
|
|
"noSwitchDeclarations": "off",
|
|
"noUnusedImports": "error"
|
|
},
|
|
"a11y": "off",
|
|
"style": {
|
|
"useNodejsImportProtocol": "off",
|
|
"useImportType": "off",
|
|
"useBlockStatements": "warn",
|
|
"useNamingConvention": "off",
|
|
"useThrowOnlyError": "info",
|
|
"useConsistentArrayType": "off",
|
|
"noParameterAssign": "off",
|
|
"useAsConstAssertion": "off",
|
|
"useDefaultParameterLast": "off",
|
|
"noNonNullAssertion": "off",
|
|
"useEnumInitializers": "off",
|
|
"useSelfClosingElements": "off",
|
|
"useSingleVarDeclarator": "off",
|
|
"useNumberNamespace": "off",
|
|
"noInferrableTypes": "off",
|
|
"useTemplate": "off",
|
|
"noUselessElse": "off"
|
|
},
|
|
"suspicious": {
|
|
"noDoubleEquals": "warn",
|
|
"noImplicitAnyLet": "info",
|
|
"noThenProperty": "off",
|
|
"noAsyncPromiseExecutor": "off",
|
|
"noImportAssign": "off",
|
|
"noExplicitAny": "off",
|
|
"noControlCharactersInRegex": "off",
|
|
"noShadowRestrictedNames": "off",
|
|
"noArrayIndexKey": "info",
|
|
"noAssignInExpressions": "info"
|
|
},
|
|
"complexity": {
|
|
"noUselessConstructor": "off",
|
|
"useOptionalChain": "off",
|
|
"noBannedTypes": "off",
|
|
"useLiteralKeys": "off",
|
|
"noUselessCatch": "off",
|
|
"noUselessSwitchCase": "off",
|
|
"noStaticOnlyClass": "off"
|
|
},
|
|
"security": {
|
|
"noDangerouslySetInnerHtml": "info"
|
|
}
|
|
}
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"indentStyle": "tab",
|
|
"indentWidth": 4,
|
|
"lineWidth": 130,
|
|
"lineEnding": "lf",
|
|
"formatWithErrors": true
|
|
},
|
|
"javascript": {
|
|
"formatter": {
|
|
"semicolons": "asNeeded",
|
|
"arrowParentheses": "always",
|
|
"bracketSameLine": true,
|
|
"bracketSpacing": true,
|
|
"jsxQuoteStyle": "double",
|
|
"quoteProperties": "asNeeded",
|
|
"trailingCommas": "all"
|
|
}
|
|
},
|
|
"json": {
|
|
"formatter": {
|
|
"trailingCommas": "none",
|
|
"expand": "always"
|
|
}
|
|
},
|
|
"files": {
|
|
"includes": [
|
|
"**",
|
|
"!**/dist",
|
|
"!**/dist-*",
|
|
"!**/out",
|
|
"!**/evals",
|
|
"!**/playwright",
|
|
"!**/test-results",
|
|
"!**/node_modules",
|
|
"!**/webview-ui/build",
|
|
"!**/generated",
|
|
"!**/proto",
|
|
"!**/tests/specs"
|
|
]
|
|
},
|
|
"plugins": [
|
|
"src/dev/grit/process-env.grit"
|
|
],
|
|
"overrides": [
|
|
{
|
|
"includes": [
|
|
"**",
|
|
"!**/hosts/vscode/**",
|
|
"!**/test/**",
|
|
"!**/*.test.ts",
|
|
"!src/dev/**",
|
|
"!src/extension.ts",
|
|
"!src/integrations/git/commit-message-generator.ts",
|
|
"!src/integrations/terminal/**",
|
|
"!src/core/controller/ui/openWalkthrough.ts"
|
|
],
|
|
"plugins": [
|
|
"src/dev/grit/vscode-api.grit"
|
|
]
|
|
},
|
|
{
|
|
"includes": [
|
|
"**",
|
|
"!src/core/storage/state-migrations.ts",
|
|
"!src/core/storage/FileContextTracker.ts",
|
|
"!src/core/context/context-tracking/FileContextTracker.ts",
|
|
"!src/common.ts",
|
|
"!src/services/logging/distinctId.ts",
|
|
"!src/core/storage/utils/state-helpers.ts",
|
|
"!src/extension.ts"
|
|
],
|
|
"plugins": [
|
|
"src/dev/grit/use-cache-service.grit"
|
|
]
|
|
}
|
|
]
|
|
}
|