项目作者: leapfrogtechnology

项目描述 :
Set of ESLint rules for JavaScript projects at Leapfrog.
高级语言: JavaScript
项目地址: git://github.com/leapfrogtechnology/eslint-config-leapfrog.git
创建时间: 2017-10-24T13:34:23Z
项目社区:https://github.com/leapfrogtechnology/eslint-config-leapfrog

开源协议:MIT License

下载


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.

  1. yarn add eslint-config-leapfrog --dev

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

  1. {
  2. "extends": ["eslint-config-leapfrog"]
  3. }

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

  1. {
  2. "extends": ["eslint-config-leapfrog/react"]
  3. }

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