jsx-eslint/eslint-plugin-react

Declaring context type on class component breaks static-property-placement

Open

#3 467 ouverte le 19 oct. 2022

Voir sur GitHub
 (6 commentaires) (0 réactions) (0 assignés)JavaScript (2 797 forks)batch import
help wanted

Métriques du dépôt

Stars
 (8 630 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

Hi,

After upgrading eslint-plugin-react from 7.31.8 to 7.31.9+ (#2581), it started breaking the declare keyword on context in TypeScript:

Not sure what is the mitigation in this case

Guide contributeur