带Emacs的Flycheck eslint
我是Emacs的新手,整天都在搜索将eslint添加到Flycheck中 当我运行C-C-在React项目中:带Emacs的Flycheck eslint,emacs,eslint,flycheck,Emacs,Eslint,Flycheck,我是Emacs的新手,整天都在搜索将eslint添加到Flycheck中 当我运行C-C-在React项目中: javascript-eslint - major mode: `help-mode' not supported - may enable: Automatically disabled! - executable: Found at /usr/local/bin/eslint - config file: missing 我想使用根项目的
javascript-eslint
- major mode: `help-mode' not supported
- may enable: Automatically disabled!
- executable: Found at /usr/local/bin/eslint
- config file: missing
我想使用根项目的配置文件。如何执行此操作?您必须为eslint创建一个配置文件,然后flycheck将自动拾取该文件。在终端中按
eslint init
,为项目设置配置文件