You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.
There is a conflict between TS and the airbnb eslint config on where to set defaultProps on a class based component.
Should eslint-config-airbnb-typescript override the react/static-property-placement setting in order to allow static defaultProps on class based components?
e.g. to 'react/static-property-placement': ['error', 'static public field']
The text was updated successfully, but these errors were encountered:
As per the question here:
https://stackoverflow.com/q/57490998/1582783
and the issue here
airbnb/javascript#2139
There is a conflict between TS and the airbnb eslint config on where to set defaultProps on a class based component.
Should eslint-config-airbnb-typescript override the
react/static-property-placement
setting in order to allow static defaultProps on class based components?e.g. to
'react/static-property-placement': ['error', 'static public field']
The text was updated successfully, but these errors were encountered: