Skip to content

leapfrogtechnology/eslint-config-leapfrog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-config-leapfrog

npm npm GitHub

Set of ESLint rules for JavaScript projects at Leapfrog.

eslint-config-leapfrog adds rules on top of eslint:recommended, eslint-plugin-jsdoc and eslint-plugin-react.

Requires

  • ESLint >= 6.0.0

Usage

Add eslint-config-leapfrog as a dev dependency.

yarn add eslint-config-leapfrog --dev

Include eslint-config-leapfrog in your .eslintrc file.

{
  "extends": ["eslint-config-leapfrog"]
}

For projects using React, include eslint-config-leapfrog/react which contains ESLint rules specific to React.

{
  "extends": ["eslint-config-leapfrog/react"]
}

In the Wild

Following are the projects compliant to these rules. Send us a PR and we'll add you to the list.

License

MIT