@i-views/eslint-plugin-iviews
Code-Style-Settings used in @i-views projects
Installation
npm install @i-views/eslint-plugin-iviews
Usage
Use the following .eslintrc.js
for plain javascript files (i.e.
in the project root directory
module.exports = {
plugins: ['@i-views/eslint-plugin-iviews'],
extends: ['plugin:@i-views/eslint-plugin-iviews/default']
}
The following .eslintrc.js
can be used in the directory where you
have synchronized the scripts from your i-views volume.
module.exports = {
plugins: ['@i-views/eslint-plugin-iviews'],
extends: ['plugin:@i-views/eslint-plugin-iviews/kjavascript']
}
When you run eslint
, you should specify the --ext
option to include
KJavaScript files
eslint --fix . --ext .js,.kjs
License
@i-views/eslint-plugin-iviews
is published under the UNLICENSED-license.
No file "LICENSE*" found
Contributing guidelines
See CONTRIBUTING.md.