diff --git a/.clinerules b/.clinerules index 8c67989..344905b 100644 --- a/.clinerules +++ b/.clinerules @@ -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: diff --git a/webview-ui/src/components/chat/__tests__/ChatTextArea.test.tsx b/webview-ui/src/components/chat/__tests__/ChatTextArea.test.tsx index b6b2323..5bf2590 100644 --- a/webview-ui/src/components/chat/__tests__/ChatTextArea.test.tsx +++ b/webview-ui/src/components/chat/__tests__/ChatTextArea.test.tsx @@ -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';