Package Exports
- eslint-plugin-ideal
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eslint-plugin-ideal) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
eslint-plugin-ideal
How to use
Install ESLint either locally or globally
npm install eslint@">=1.0.0"
or
npm install eslint@">=1.0.0" --save-deveslint-plugin-ideal requires 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-ideal
or
npm install eslint-plugin-ideal --save-devDefault configuration
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:
{
"no-tabs-in-file": 2,
"vars-with-default": 2,
"vars-on-newline": 2
}Modify .eslintrc for your project
Add plugins section and specify eslint-plugin-backbone as a plugin
{
"plugins": [
"ideal"
]
}Enable all of the rules that you would like to use
{
"rules": {
"ideal/no-tabs-in-file": 1,
"ideal/vars-with-default": 1,
"ideal/vars-on-newline": 1
}
}