jsx-eslint/eslint-plugin-react

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

Open

#3,467 建立於 2022年10月19日

在 GitHub 查看
 (6 留言) (0 反應) (0 負責人)JavaScript (8,630 star) (2,797 fork)batch import
help wanted

描述

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

貢獻者指南