Anthony's ESLint config preset
Home Page:https://eslint-config.antfu.me/
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
dhzhme opened this issue a month ago · comments
It seems that jsx file need to be specified manually in eslint.config.js to make eslint effective in react projects.
import antfu from '@antfu/eslint-config' export default antfu({ formatters: true, react: true, files: ['**/*.?([cm])jsx'], })