mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
Move .roorules to .roo/rules/ (#2385)
This commit is contained in:
parent
580672ffc8
commit
009faf349e
2 changed files with 19 additions and 17 deletions
19
.roo/rules/rules.md
Normal file
19
.roo/rules/rules.md
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# Code Quality Rules
|
||||
|
||||
1. Test Coverage:
|
||||
|
||||
- Before attempting completion, always make sure that any code changes have test coverage
|
||||
- Ensure all tests pass before submitting changes
|
||||
|
||||
2. Lint Rules:
|
||||
|
||||
- Never disable any lint rules without explicit user approval
|
||||
|
||||
3. Styling Guidelines:
|
||||
- Use Tailwind CSS classes instead of inline style objects for new markup
|
||||
- VSCode CSS variables must be added to webview-ui/src/index.css before using them in Tailwind classes
|
||||
- Example: `<div className="text-md text-vscode-descriptionForeground mb-2" />` instead of style objects
|
||||
|
||||
# Adding a New Setting
|
||||
|
||||
To add a new setting that persists its state, follow the steps in cline_docs/settings.md
|
||||
17
.roorules
17
.roorules
|
|
@ -1,17 +0,0 @@
|
|||
# Code Quality Rules
|
||||
|
||||
1. Test Coverage:
|
||||
- Before attempting completion, always make sure that any code changes have test coverage
|
||||
- Ensure all tests pass before submitting changes
|
||||
|
||||
2. Lint Rules:
|
||||
- Never disable any lint rules without explicit user approval
|
||||
|
||||
3. Styling Guidelines:
|
||||
- Use Tailwind CSS classes instead of inline style objects for new markup
|
||||
- VSCode CSS variables must be added to webview-ui/src/index.css before using them in Tailwind classes
|
||||
- Example: `<div className="text-md text-vscode-descriptionForeground mb-2" />` instead of style objects
|
||||
|
||||
# Adding a New Setting
|
||||
|
||||
To add a new setting that persists its state, follow the steps in cline_docs/settings.md
|
||||
Loading…
Add table
Reference in a new issue