Remove eslint-disable, forbid it in .clinerules

This commit is contained in:
Matt Rubens
2024-12-28 21:58:16 -08:00
parent fb70552b57
commit d1e305f30c
2 changed files with 6 additions and 2 deletions

View File

@@ -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:

View File

@@ -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';