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

[Docs]: Add docs for `customValidators`

Open KATT opened this issue 1 year ago • 5 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues and my issue is unique
  • [X] My issue appears in the command-line and not only in the text editor

Description Overview

@JoshuaKGoldberg suggested I should post an issue here 🙃

  • customValidators are largely undocumented https://github.com/search?q=repo%3Ajsx-eslint%2Feslint-plugin-react+customValidators+language%3AMarkdown&type=code&l=Markdown
  • It's mentioned in the docs here and in other places, but I can't figure out how to use it

Expected Behavior

A code example on how to use customVAlidators

eslint-plugin-react version

n/a

eslint version

n/a

node version

n/a

KATT avatar Dec 12 '23 18:12 KATT

Looks like it was added in docs here, and to the rule in #160.

ljharb avatar Dec 12 '23 18:12 ljharb