Easy steps to install eslint package on Mac
Package Information:
Application Name – eslint
What is eslint – Not Available for eslint
Use of eslint – AST-based pattern checker for JavaScript
URL – https://eslint.org
Installation Steps:
- Open Terminal using Spotlight search by pressing
<command+space>. Type terminal and hitEnterkey. - Now, run following command to install homebrew (brew)
- Install eslint using brew
brew install eslint

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null

eslint is ready to use now!