Skip to content

Latest commit

 

History

History

eslint-config-typescript

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@gjv/eslint-config-typescript

npm version install size publish size

This package provides gjv's base Typescript .eslintrc (without React plugins) as an extensible shared config.

Inspired by Airbnb's Javascript Styleguide

Usage

Our default export contains all of our ESLint rules, including ECMAScript 6+.

  1. Install the correct versions of each peer dependency, which are listed by the command:
npm info "@gjv/eslint-config-typescript" peerDependencies

If using npm 5+, use this shortcut

npx install-peerdeps --dev @gjv/eslint-config-typescript
  1. Add "extends": "@gjv/eslint-config-typescript" to your .eslintrc.