Atom + React setup
In the Terminal
Easy Way
You only have to do this once
npm install -g eslint eslint-plugin-reactcurl https://raw.githubusercontent.com/jacobthemyth/dotfiles/master/eslintrc > ~/.eslintrc
"Right" Way
You have to do this for every project, in the project directory
npm install --save eslint eslint-plugin-reactcurl https://raw.githubusercontent.com/jacobthemyth/dotfiles/master/eslintrc > .eslintrc
In Atom -> Preferences
- Uninstall
linter-jshintfrom "Packages" - Install
linter-eslintandreactfrom "Install" - [Optional] In Packages -> linter-eslint -> Settings, enable the "Use Global Eslint" if you followed the "Easy Way" above
- Completely close and restart Atom