File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change 66
772. 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
2717To add a new setting that persists its state, follow the steps in cline_docs/settings.md
You can’t perform that action at this time.
0 commit comments