Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable @swissquote/swissquote/react/prop-types if strict mode is enabled #2216

Closed
onigoetz opened this issue Oct 27, 2023 · 1 comment
Closed

Comments

@onigoetz
Copy link
Member

Sometimes we get warnings like :

14:48  warning  'className' is missing in props validation  @swissquote/swissquote/react/prop-types

apparently already documented in : jsx-eslint/eslint-plugin-react#3325

This rule seems to be redundant when TypeScript's Strict mode is enabled

Check if it's possible to disable it for TypeScript when strict checking is enabled (As TS would catch that anyway)

@onigoetz
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant