eslint-config-kivra

0.5.3 • Public • Published

eslint-config-kivra

Universal ESLint rules for all Kivra projects

Install

$ npm install eslint-config-kivra --save-dev

Usage

Using the package out of the box

Add the following lines to package.json

  "eslintConfig"{
      "extends": "eslint-config-kivra"
  }

Overriding default rules

Alternatively if you want to override certain rules, create a file named .eslintrc.json with the following structure:

{
    "extends": "eslint-config-kivra",
    "rules": {}
}

And don't include the following lines in package.json (since eslint will default to .eslintrc.json):

  "eslintConfig"{
      "extends": "eslint-config-kivra"
  }

Deployment

This is a public npm package and can easely be published from the terminal:

$ npm login (use your own npm user and get added to Kivra organization)

$ npm version major|minor|patch

$ npm publish

Package Sidebar

Install

npm i eslint-config-kivra

Weekly Downloads

0

Version

0.5.3

License

ISC

Unpacked Size

8.01 kB

Total Files

3

Last publish

Collaborators

  • tatsii
  • timjackleus
  • lambdalainen
  • kivra-dev