eslint-config-bentinata

2.1.1 • Public • Published

Requirement

  • eslint
  • eslint-plugin-promise
  • eslint-plugin-lodash
  • eslint-plugin-lodash-fp
  • prettier

Usage

Install the package (and all the requirements, if you haven't) first.

npm i prettier eslint{,-config-bentinata,-plugin-{promise,lodash{,-fp}}} -D

Put these on your eslintrc.json or eslintConfig properties:

"extends": "bentinata"

Caveat

On v2 onwards, I've been integrating prettier. My approach is overriding the eslint in node_modules/.bin. Since prettier don't accept . as arguments, I'm prettifying all *.js file, except *.min.js. If you have a better approach, please do a merge request, or notify me.

Comparison

It's always good to see comparison. You can look to diff table.

  • With ESLint recommendation ESLint ship with recommended rules. It's got many friction with ours though.
  • With AirBnB AirBnB JavaScript style is a popular one. Our style also originated from there.

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-config-bentinata

Weekly Downloads

0

Version

2.1.1

License

MIT

Unpacked Size

19.4 kB

Total Files

4

Last publish

Collaborators

  • bentinata