eslint-plugin-react-hook-form icon indicating copy to clipboard operation
eslint-plugin-react-hook-form copied to clipboard

Check for aliased variables and method chains

Open ypresto opened this issue 2 years ago • 1 comments

(rebase after #23)

For <FormProvider {...form}>, we assign like const form = useForm(). So this PR covers situations below:

  • const { formState } = form; formState.isValid
  • form.formState.isValid

ypresto avatar Jun 16 '23 16:06 ypresto

Same as #23 , please make sure all the test cases are passed. Again, thank you for contributing :)

andykao1213 avatar Jul 29 '23 06:07 andykao1213