Files
form/packages/react-form/.eslintrc.cjs
Corbin Crutchley 74ac9f4b9c Update build tooling (#401)
* chore: inital work to migrate to Query's alpha package setup

* chore: update deps

* chore: fix build issues

* chore: disable no-children-prop rule
2023-07-04 21:06:03 -06:00

18 lines
437 B
JavaScript

// @ts-check
/** @type {import('eslint').Linter.Config} */
const config = {
extends: ['plugin:react/recommended', 'plugin:react-hooks/recommended'],
parserOptions: {
tsconfigRootDir: __dirname,
project: './tsconfig.eslint.json',
},
rules: {
'react/jsx-key': ['error', { checkFragmentShorthand: true }],
'react-hooks/exhaustive-deps': 'error',
'react/no-children-prop': 'off',
},
}
module.exports = config