mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 12:21:13 -05:00
Remove eslint-disable, forbid it in .clinerules
This commit is contained in:
@@ -18,6 +18,12 @@
|
|||||||
- Keep the documentation in sync with the codebase
|
- Keep the documentation in sync with the codebase
|
||||||
- Add examples where appropriate
|
- 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
|
# Adding a New Setting
|
||||||
|
|
||||||
To add a new setting that persists its state, follow these steps:
|
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 { render, fireEvent, screen } from '@testing-library/react';
|
||||||
import '@testing-library/jest-dom';
|
import '@testing-library/jest-dom';
|
||||||
import ChatTextArea from '../ChatTextArea';
|
import ChatTextArea from '../ChatTextArea';
|
||||||
|
|||||||
Reference in New Issue
Block a user