If I write a stateless React component to prevent the no-this rule from firing, while also using the excellent eslint-plugin-react, I get warnings that I'm not defining propTypes for my method.
However, I can't fix this without also running into the no-mutation rule from this project:
I'd be happy to PR a non-default .propTypes config exclusion for the no-mutation rule. Or maybe allow a generic set of strings or patterns to exclude? What do you think?
If I write a stateless React component to prevent the
no-this
rule from firing, while also using the excellenteslint-plugin-react
, I get warnings that I'm not definingpropTypes
for my method.However, I can't fix this without also running into the
no-mutation
rule from this project:I'd be happy to PR a non-default
.propTypes
config exclusion for theno-mutation
rule. Or maybe allow a generic set of strings or patterns to exclude? What do you think?