@ncko/eslint-config

1.0.2 • Public • Published

@ncko/eslint-config

Usage

Install @ncko/eslint-config along with eslint:

yarn add -D eslint @ncko/eslint-config

In a .eslintrc file at the root of your project:

{
  "extends": ["@ncko/eslint-config"]
}

There are also configs for typescript and react. Each have peer dependencies that must also be installed.

Typescript

Install the typescript config's peer dependencies:

yarn add -D typescript @typescript-eslint/eslint-plugin

In your .eslintrc file:

{
  "extends": ["@ncko/eslint-config", "@ncko/eslint-config/typescript"]
}

React

Install the react config's peer dependencies:

yarn add -D eslint-plugin-jsx-a11y eslint-plugin-react

In your .eslintrc file:

{
  "extends": ["@ncko/eslint-config", "@ncko/eslint-config/react"]
}

Readme

Keywords

none

Package Sidebar

Install

npm i @ncko/eslint-config

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

12.6 kB

Total Files

7

Last publish

Collaborators

  • ncko