Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Atom配置全局eslint #5

Open
Clearives opened this issue Jun 7, 2017 · 0 comments
Open

Atom配置全局eslint #5

Clearives opened this issue Jun 7, 2017 · 0 comments
Labels

Comments

@Clearives
Copy link
Owner

➜ アメージング😁  ~ npm install -g eslint
➜ アメージング😁  ~ eslint init  //生成配置文件

下面是atom里面配置,安装Linter Eslint插件,

/usr/local/lib/node_modules  //node_modules路径
~/.eslintrc   //eslintrc path

这里要注意,如果你安装了nvm,node_modules路径配置可能不一样,或者使用nvm use system切换到默认node机制即可。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant