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

Allow jsx-pascal-case to ignore using regexps

Open soundasleep opened this issue 6 years ago • 1 comments

We want to ignore a consistent theme of component naming in our project, where the offending component names match a regexp, without having to individually label each of the components, or to individually eslint-disable each of the instances.

This should be backwards compatible with existing rule sets, and matches how the camelcase rule works in eslint (which also supports regexps).

soundasleep avatar Apr 18 '19 04:04 soundasleep

I've converted this to a draft pending @soundasleep's response.

ljharb avatar May 09 '20 22:05 ljharb