1.0.6 • Published 6 years ago

@timkendrick/eslint-config v1.0.6

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

@timkendrick/eslint-config

npm version Stability

ESLint configuration for JavaScript projects

Installation

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

Overview

A collection of opinionated rules based on the Airbnb ESLint config to ensure consistent lint settings across projects.

Usage

Standard projects

Add the following to your project's .eslintrc.json:

{
  "extends": "@timkendrick/eslint-config"
}

React projects

Add the following to your project's .eslintrc.json:

{
  "extends": "@timkendrick/eslint-config/react"
}

ES5 projects

Add the following to your project's .eslintrc.json:

{
  "extends": "@timkendrick/eslint-config/legacy"
}

Rules

Custom rule settings are specified in lib/rules/eslintrc.json