How to config ESLint for React on Atom Editor

后端 未结 5 765
自闭症患者
自闭症患者 2020-12-12 20:52

In Atom Editor I installed the following plugins

  1. linter
  2. linter-eslint

It seems they don\'t recognize the JSX syntaxis.

I have

5条回答
  •  悲&欢浪女
    2020-12-12 21:16

    I use Atom and it works just fine. You just need an .eslintrc in your project root which tells ESLint that you're using eslint-plugin-react.

提交回复
热议问题