eslint-config-koality

4.0.2 • Public • Published

eslint-config-koality

A "Koality" ESLint Shareable Config from your friends at Code Koalas

Install

npm install --save-dev eslint-config-koality

The ESLint Shareable Config depends on ESLint so you'll need to install ESLint as well (if you have not already installed it):

npm install --save-dev eslint

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 JavaScript Standard Style shareable config, first install eslint-config-koality:

npm install --save-dev eslint-config-koality

Next, add the peer dependencies

npm install --save-dev eslint eslint-config-prettier eslint-config-standard eslint-config-standard-jsx eslint-plugin-import eslint-plugin-node eslint-plugin-prettier eslint-plugin-promise eslint-plugin-react eslint-plugin-standard prettier

Then, add this to your .eslintrc file:

{
  "extends": "koality"
}

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.

License

MIT. License (c) Code Koalas

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-config-koality

Weekly Downloads

6

Version

4.0.2

License

MIT

Unpacked Size

5.31 kB

Total Files

5

Last publish

Collaborators

  • donniewest