Last active
January 9, 2018 11:24
-
-
Save Thilagavathi1/31f6cf347e2ecfbe606e470bf9e458de to your computer and use it in GitHub Desktop.
Add ESlint to your project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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