eslint-config-centralstandard

0.1.8 • Public • Published

eslint-config-centralstandard

This package includes the shareable ESLint configuration used by Central Standard across its codebases.

Installation

Add the configuration settings to your project:

yarn add --dev eslint-config-centralstandard

Add the peer dependencies:

yarn add --dev @typescript-eslint/eslint-plugin @typescript-eslint/parser babel-eslint@ eslint eslint-config-prettier eslint-plugin-import eslint-plugin-prettier

And add the configuration to your .eslintrc.json file:

{
  "extends": "centralstandard"
}

Node

If you're using the Node configuration, make sure you add its peer dependencies:

yarn add --dev eslint-plugin-node

Then change the configuration to your .eslintrc.json file to:

{
  "extends": "centralstandard/node"
}

React

If you're using the React configuration, make sure you add its peer dependencies:

yarn add --dev eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-react-hooks

Then change the configuration to your .eslintrc.json file to:

{
  "extends": "centralstandard/react"
}

React Native

If you're using the React Native configuration, make sure you add its peer dependencies:

yarn add --dev eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-react-native

Then change the configuration to your .eslintrc.json file to:

{
  "extends": "centralstandard/react-native"
}

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-config-centralstandard

Weekly Downloads

21

Version

0.1.8

License

MIT

Unpacked Size

5.59 kB

Total Files

7

Last publish

Collaborators

  • jeremyboles