eslint-plugin-kiwicom

1.12.0 • Public • Published

CircleCI Coverage Status code style: prettier

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.

Package Sidebar

Install

npm i eslint-plugin-kiwicom

Weekly Downloads

478

Version

1.12.0

License

ISC

Unpacked Size

528 kB

Total Files

38

Last publish

Collaborators

  • ridotcom