Skip to content

Commit

Permalink
chore: disable no-children-prop rule
Browse files Browse the repository at this point in the history
  • Loading branch information
crutchcorn committed Jul 3, 2023
1 parent 7744316 commit 4a70b82
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions packages/react-form/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const config = {
rules: {
'react/jsx-key': ['error', { checkFragmentShorthand: true }],
'react-hooks/exhaustive-deps': 'error',
'react/no-children-prop': 'off',
},
}

Expand Down
2 changes: 0 additions & 2 deletions packages/react-form/src/useField.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint-disable react/no-children-prop */

import * as React from 'react'
//
import { useStore } from '@tanstack/react-store'
Expand Down

0 comments on commit 4a70b82

Please sign in to comment.