eslint-plugin-kiwicom
v1.12.0
Published
eslint rules in use at kiwi.com
Downloads
1,618
Maintainers
Readme
eslint-plugin-kiwicom
eslint rules in use at kiwi.com
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-kiwicom
:
$ npm install eslint-plugin-kiwicom --save-dev
Note: If you installed ESLint globally (using the -g
flag) then you must also install eslint-plugin-kiwicom
globally.
Usage
Add kiwicom
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"kiwicom"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"kiwicom/rule-name": 2
}
}
Supported Rules
https://github.com/kiwicom/eslint-plugin-kiwicom/blob/master/src/rules/index.js
How to contribute
- Clone repository
- Install dependencies using
yarn install
- Create a pull request
Tools
https://astexplorer.net/
How to release a new version - Conventional changelog
This project is using Semantic Release for releasing to npm. We use Angular conventional changelog for commit mesages in it's commit analyzer plugin.