/eslint-config

Double’s ESLint config - extends JavaScript Standard Style

Primary LanguageJavaScript

@withdouble/eslint-config

Double’s central ESLint config

Install

npm i -D \
  @withdouble/eslint-config \
  @typescript-eslint/eslint-plugin \
  eslint \
  eslint-plugin-prettier \
  eslint-plugin-promise \
  <!-- Only install the following if you're using eslint-config/web -->
  eslint-plugin-react \
  eslint-plugin-react-hooks

Usage

Add this to your package.json file:

"eslintConfig": {
  "extends": "@withdouble/eslint-config/web"
}

or in your .eslintrc file:

{
  "extends": "@withdouble/eslint-config/web"
}