Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

eslint-config-nhardy

A collection of ESLint configs which extend eslint-config-airbnb-base and eslint-config-airbnb with some minor differences, and additions for TypeScript.

Usage

Plain ESNext

In your project folder config:

{
  "extends": "nhardy"
}

With React

{
  "extends": "nhardy/react"
}

With Mocha

In your test folder config:

{
  "extends": ["nhardy", "nhardy/withMocha"]
}

With TypeScript (experimental)

{
  "extends": "nhardy/typescript"
}

With TypeScript and React (experimental)

{
  "extends": "nhardy/typescript-react"
}

With TypeScript, React and Mocha (experimental)

In your test folder config:

{
  "extends": "nhardy/typescript-react-mocha"
}

With React and Flow (legacy)

Add to your project folder config:

{
  "extends": "nhardy/react-flow"
}

About

ESLint Config

Resources

License

Packages

No packages published