0.0.2 • Published 3 years ago

@tchthry/eslint-config v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

TechTheory ESLint Config

@tchthry/eslint-config is the base ESLint configuration for all our projects. It also includes different sub-configuration (for example React).

Installation

  1. Install all peer dependencies
npx install-peerdeps --dev @tchthry/eslint-config
  1. Install @tchthry/eslint-config as a dev dependency:
npm i @tchthry/eslint-config --save-dev

or

yarn add -D @tchthry/eslint-config

Usage

In your .eslintrc, simply extend @tchthry (eslint will automatically resolve the module).

// .eslintrc
{
  "extends": ["@tchthry"]
}

If you want to use the react configuration, extend @tchtry/eslint-config/react

// .eslintrc
{
  "extends": ["@tchthry/eslint-config/react"]
}