mirror of
https://github.com/LukeHagar/form.git
synced 2025-12-09 20:37:47 +00:00
* chore: inital work to migrate to Query's alpha package setup * chore: update deps * chore: fix build issues * chore: disable no-children-prop rule
18 lines
437 B
JavaScript
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
|