2.0.2 • Published 6 years ago

eslint-config-koa v2.0.2

Weekly downloads
636
License
MIT
Repository
github
Last release
6 years ago

eslint-config-koa

NPM version build status dependency status downloads

Koa's ESLint config, based on Standard

This is recommended for Koa packages. It can be used for your own packages if you want, but be aware that Standard is more generic.

Usage

Shareable configs are designed to work with the extends feature of .eslintrc files. You can learn more about Shareable Configs on the official ESLint website.

To use the Koa shareable config, first run this:

npm install --save-dev eslint-config-koa eslint-config-standard eslint-plugin-standard eslint-plugin-promise eslint-plugin-import eslint-plugin-node

Then, add this to your .eslintrc file:

{
  "extends": "koa"
}

Note: We omitted the eslint-config- prefix since it is automatically assumed by ESLint.

You can override settings from the shareable config by adding them directly into your .eslintrc file.

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

2.0.0-alpha

6 years ago

1.0.0

7 years ago