Skip to content

timkendrick/eslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@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

About

ESLint configuration for JavaScript projects

Resources

Stars

Watchers

Forks

Packages

No packages published