6.0.0 • Published 5 years ago

eslint-config-dgeibi v6.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

eslint-config-dgeibi

ESLint Config base on eslint-config-airbnb-base and eslint-config-prettier

Install

Common projects

Install eslint-config-dgeibi and eslint:

$ npm i -D eslint eslint-config-dgeibi

If you want to format your source code, just install prettier

$ npm i -D prettier

and create a .prettierrc, for example:

{
  "semi": false,
  "singleQuote": true,
  "trailingComma": "es5"
}

For common es6 projects, add this to your .eslintrc

{
  "extends": ["dgeibi"]
}

For node, use dgeibi/node

For legacy projects:

{
  "extends": ["dgeibi/legacy"]
}

(p)react projects

The configs are copying from eslint-config-standard-react and eslint-config-standard-preact.

add this to .eslintrc

{
  "extends": ["dgeibi/react"]
}

extends dgeibi/preact instead for preact projects.

LICENSE

MIT

6.0.0

5 years ago

5.1.1

6 years ago

5.1.0

6 years ago

5.0.0

6 years ago

4.1.0

6 years ago

4.0.0

6 years ago

3.0.6

7 years ago

3.0.5

7 years ago

3.0.4

7 years ago

3.0.3

7 years ago

3.0.1

7 years ago

3.0.0

7 years ago