How to use
ESLint either locally or globallyInstall
npm install eslint@">=1.0.0"ornpm install eslint@">=1.0.0" --save-dev
ESLint with version greater then 1.0.0 if you would like to use your own base models.
Install ideal plugins.
If you installed
ESLint globally, you have to install ideal plugin globally too. Otherwise, install it locally.
npm install eslint-plugin-idealornpm install eslint-plugin-ideal --save-dev
If you are using ESLint >0.9.0 then this plugin will provide default configuration. If you are fine with defaults, you do not need to update your .eslintrc file.
Defaults are currently set to the following:
Modify .eslintrc for your project
plugins section and specify eslint-plugin-backbone as a plugin
Enable all of the rules that you would like to use