Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Disable React rules that are covered by TS #273

Open
zaicevas opened this issue Jan 16, 2022 · 1 comment
Open

Disable React rules that are covered by TS #273

zaicevas opened this issue Jan 16, 2022 · 1 comment

Comments

@zaicevas
Copy link

Airbnb has a handful of React rules that are covered by TS. One example is react/require-render-return. Those rules add additional overhead, including more linting time.

What do you think if we disabled such rules in airbnb-typescript preset?

@bryanjtc
Copy link

Another rule is react/jsx-props-no-spreading
JSX spreads are explicitly typed with typescript.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants