npm.io
2.2.0 • Published 3 years ago

@i-views/eslint-plugin-iviews

Licence
UNLICENSED
Version
2.2.0
Deps
6
Size
16 kB
Vulns
0
Weekly
0

@i-views/eslint-plugin-iviews

NPM version Greenkeeper badge

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.