swissquote / crafty

The task runner that binds them all
https://swissquote.github.io/crafty/
Apache License 2.0
30 stars 12 forks source link

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

Closed onigoetz closed 7 months ago

onigoetz commented 11 months ago

Sometimes we get warnings like :

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

apparently already documented in : https://github.com/jsx-eslint/eslint-plugin-react/issues/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 commented 7 months ago

released Released in https://github.com/swissquote/crafty/releases/tag/v1.25.0