4.1.0 • Published 9 years ago

eslint-config-benmvp v4.1.0

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

eslint-config-benmvp

version Build Status Dev Dependencies status downloads Maintenance Status license

This package provides Ben Ilegbodu's .eslintrc.json as an extensible shared config for all of his projects. 😀

Usage

The package exports three ESLint configurations for your usage.

eslint-config-benmvp

The default export contains all of the ESLint rules, including ES6+/ES2015+ and React. It requires eslint, eslint-plugin-react, eslint-plugin-jsx-a11y and babel-eslint.

Install the dependencies:

npm install --save-dev eslint eslint-plugin-react eslint-plugin-jsx-a11y babel-eslint eslint-config-benmvp

Extend eslint-config-benmvp in your .eslintrc.json:

{
    "extends": "benmvp"
}

NOTE: This configuration extends eslint:recommended and plugin:react/recommended.

eslint-config-benmvp/base

Lints ES6+/ES2015+ but does not lint React. It requires eslint and babel-eslint.

Install the dependencies:

npm install --save-dev eslint babel-eslint eslint-config-benmvp

Extend eslint-config-benmvp/base in your .eslintrc.json:

{
    "extends": "benmvp/base"
}

NOTE: This configuration extends eslint:recommended.

eslint-config-benmvp/legacy

Lints ES5-. Only requires eslint.

Install the dependencies:

npm install --save-dev eslint eslint-config-benmvp

Extend eslint-config-benmvp/legacy in your .eslintrc.json:

{
    "extends": "benmvp/legacy"
}

NOTE: This configuration extends eslint:recommended.

License

MIT. Copyright (c) 2016 Ben Ilegbodu.

Thanks

Many thanks to Airbnb and their example eslint-config-airbnb.

4.1.0

9 years ago

4.0.3

9 years ago

4.0.2

9 years ago

4.0.1

9 years ago

4.0.0

9 years ago

3.1.2

10 years ago

3.1.1

10 years ago

3.1.0

10 years ago

3.0.1

10 years ago

3.0.0

10 years ago

2.0.1

10 years ago

2.0.0

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago