8.0.0 • Published 9 years ago

eslint-config-mgcrea v8.0.0

Weekly downloads
11
License
MIT
Repository
github
Last release
9 years ago

eslint-config-mgcrea

npm version

This package provides my own .eslintrc as an extensible shared config.

It's basically a small wrapper around Airbnb's configurations, with some minor changes.

Usage

We export three ESLint configurations for your usage.

eslint-config-mgcrea

Our default export contains all of our ESLint rules, including EcmaScript 6+ and React. It requires eslint and eslint-plugin-react.

  1. npm install --save-dev eslint-config-mgcrea eslint-plugin-react eslint
  2. add "extends": "mgcrea" to your .eslintrc

eslint-config-mgcrea/base

Lints ES6+ but does not lint React. Requires eslint.

  1. npm install --save-dev eslint-config-mgcrea eslint
  2. add "extends": "mgcrea/base" to your .eslintrc

eslint-config-mgcrea/legacy

Lints ES5 and below. Only requires eslint.

  1. npm install --save-dev eslint-config-mgcrea eslint
  2. add "extends": "mgcrea/legacy" to your .eslintrc

See Airbnb's Javascript styleguide and the ESlint config docs for more information.

8.0.0

9 years ago

6.1.0

10 years ago

6.0.0

10 years ago

5.0.1

10 years ago

5.0.0

10 years ago

2.0.0

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago