Skip to content

Instantly share code, notes, and snippets.

@Thilagavathi1
Last active January 9, 2018 11:24
Show Gist options
  • Save Thilagavathi1/31f6cf347e2ecfbe606e470bf9e458de to your computer and use it in GitHub Desktop.
Save Thilagavathi1/31f6cf347e2ecfbe606e470bf9e458de to your computer and use it in GitHub Desktop.
Add ESlint to your project
install the eslint package globally.
1.sudo npm install -g eslint
2.Copy the code from the link https://packagecontrol.io/installation (related to sublime text3 or sublime text2)
*paste the code to View->show console option in the sublime editor
3.npm install --save-dev eslint-config-rallycoding
4.ADD FILE IN PROJECT DIRECTORY
.eslintrc file ==> this file has the {"extends": "rallycoding"}
5.ctr + shift+p ==> click install package
1... sublimelinter
2....sublime-contrib-eslint
RESTART SUBLIME START USING IT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment