Currently, I'm getting these linting errors:
ESLint: UNSAFE_componentWillUpdate should be placed after someFunction (react/sort-comp)
and
ESLint: Identifier 'UNSAFE_componentWillUpdate' is not in camel case. (camelcase)
Currently, I'm not able to find the correct rules to add to .eslintrc
to apply to the prepended UNSAFE_
component lifecycles. I'm trying to make it apply to both react/sort-comp
and camelcase
rules, any clues/help would be appreciated