eslint-config-centralstandard v0.1.8
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-centralstandardAdd the peer dependencies:
yarn add --dev @typescript-eslint/eslint-plugin @typescript-eslint/parser babel-eslint@ eslint eslint-config-prettier eslint-plugin-import eslint-plugin-prettierAnd 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-nodeThen 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-hooksThen 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-nativeThen change the configuration to your .eslintrc.json file to:
{
"extends": "centralstandard/react-native"
}5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago