jsx-eslint/eslint-plugin-react

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

Open

#3.467 aberto em 19 de out. de 2022

Ver no GitHub
 (6 comments) (0 reactions) (0 assignees)JavaScript (2.797 forks)batch import
help wanted

Métricas do repositório

Stars
 (8.630 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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

Guia do colaborador