@trevorblades/eslint-config

A shared ESLint config with opinions about code style

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@trevorblades/eslint-config
027.2.810 months ago4 years agoMinified + gzip package size for @trevorblades/eslint-config in KB

Readme

@trevorblades/eslint-config
Build Status
A shared ESLint config with opinions about code style

Installation

npm install --save-dev eslint @trevorblades/eslint-config

Usage

Create an .eslintrc file that extends this config. For more configuration options, check out the ESLint docs.
{
  "extends": "@trevorblades"
}

If you're using React, extend @trevorblades/eslint-config/react.
{
  "extends": "@trevorblades/eslint-config/react"
}

If you're using TypeScript, extend @trevorblades/eslint-config/typescript.
{
  "extends": "@trevorblades/eslint-config/typescript"
}