📋 React Hooks for form state management and validation (Web + React Native)
25 matches across 4 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | src/__tests__/useFieldArray/remove.test.tsx | 1425 | // Step 1: Append and fill |
| LOW | src/__tests__/useFieldArray/remove.test.tsx | 1432 | // Step 2: Submit |
| LOW | src/__tests__/useFieldArray/remove.test.tsx | 1438 | // Step 3: Delete the appended element |
| LOW | src/__tests__/useFieldArray/remove.test.tsx | 1442 | // Step 4: Submit |
| LOW | src/__tests__/useFieldArray/remove.test.tsx | 1448 | // Step 5: Delete the only element left |
| LOW | src/__tests__/useFieldArray/remove.test.tsx | 1452 | // Step 6: Submit |
| LOW | src/__tests__/useFieldArray/remove.test.tsx | 1458 | // Step 7: Append - should add exactly ONE element |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | examples/V6/defaultValues.tsx | 10 | email: 'test@test.com', |
| LOW | examples/V7/defaultValues.tsx | 10 | email: 'test@test.com', |
| LOW | src/__tests__/useController.test.tsx | 1428 | target: { value: 'John Doe' }, |
| LOW | src/__tests__/useController.test.tsx | 1437 | 'John Doe', |
| LOW | src/__tests__/useForm/setValue.test.tsx | 1278 | name: 'John Doe', |
| LOW | src/__tests__/useForm/setValue.test.tsx | 1316 | name: 'John Doe', |
| LOW | src/__tests__/logic/validateField.test.tsx | 1468 | value: 'test@test.com', |
| LOW | src/__tests__/logic/validateField.test.tsx | 1475 | test: 'test@test.com', |
| LOW | src/__tests__/useFieldArray/dirtyFields.test.tsx | 336 | name: 'John Doe', |
| LOW | src/__tests__/useFieldArray/dirtyFields.test.tsx | 580 | phone: '555-1234', |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | api-extractor.json | 361 | // "tsdoc-link-tag-unescaped-text": { |
| LOW | cypress/plugins/index.ts | 1 | // *********************************************************** |
| LOW | cypress/support/commands.js | 1 | // *********************************************** |
| LOW | cypress/support/commands.js | 21 | // Cypress.Commands.add("dismiss", { prevSubject: 'optional'}, (subject, options) => { ... }) |
| LOW | cypress/support/e2e.js | 1 | // *********************************************************** |
| LOW | .github/stale.yml | 41 | # Comment to post when closing a stale Issue or Pull Request. |
| LOW | .github/stale.yml | 61 | # exemptLabels: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | examples/V7/useFieldArraySimpleExample.tsx | 4 | export default function UseFieldArraySimpleExample() { |