Skip to content

Commit 980479e

Browse files
authored
Update .clinerules
1 parent 29f8cde commit 980479e

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.clinerules

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,12 @@
66

77
2. Lint Rules:
88
- Never disable any lint rules without explicit user approval
9-
- If a lint rule needs to be disabled, ask the user first and explain why
10-
- Prefer fixing the underlying issue over disabling the lint rule
11-
- Document any approved lint rule disabling with a comment explaining the reason
129

13-
3. Logging Guidelines:
14-
- Always instrument code changes using the logger exported from `src\utils\logging\index.ts`.
15-
- This will facilitate efficient debugging without impacting production (as the logger no-ops outside of a test environment.)
16-
- Logs can be found in `logs\app.log`
17-
- Logfile is overwritten on each run to keep it to a manageable volume.
18-
19-
4. Styling Guidelines:
10+
3. Styling Guidelines:
2011
- Use Tailwind CSS classes instead of inline style objects for new markup
2112
- VSCode CSS variables must be added to webview-ui/src/index.css before using them in Tailwind classes
2213
- Example: `<div className="text-md text-vscode-descriptionForeground mb-2" />` instead of style objects
2314

24-
2515
# Adding a New Setting
2616

2717
To add a new setting that persists its state, follow the steps in cline_docs/settings.md

0 commit comments

Comments
 (0)