mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-10 03:28:03 +00:00
Remove eslint-disable, forbid it in .clinerules
This commit is contained in:
parent
fb70552b57
commit
d1e305f30c
2 changed files with 6 additions and 2 deletions
|
|
@ -18,6 +18,12 @@
|
|||
- Keep the documentation in sync with the codebase
|
||||
- Add examples where appropriate
|
||||
|
||||
4. Lint Rules:
|
||||
- Never disable any lint rules without explicit user approval
|
||||
- If a lint rule needs to be disabled, ask the user first and explain why
|
||||
- Prefer fixing the underlying issue over disabling the lint rule
|
||||
- Document any approved lint rule disabling with a comment explaining the reason
|
||||
|
||||
# Adding a New Setting
|
||||
|
||||
To add a new setting that persists its state, follow these steps:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
/* eslint-disable import/first */
|
||||
import React from 'react';
|
||||
import { render, fireEvent, screen } from '@testing-library/react';
|
||||
import '@testing-library/jest-dom';
|
||||
import ChatTextArea from '../ChatTextArea';
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue