eslint-config-hostelworld
ESLint Shareable Config extending eslint-config-standard
.
Installation
-
First install the following npm packages:
npm install --save-dev eslint-config-hostelworld
npm install --save-dev eslint eslint-config-standard eslint-plugin-import eslint-plugin-node eslint-plugin-promise eslint-plugin-standard
-
Then add eslint-config-hostelworld
to your .eslintrc.*
extends section:
{
"extends": [
"hostelworld"
],
"rules": {
}
}
Additional rules
- 4 spaces for indentation. rule
- Semicolons are mandatory. rule
- Curly braces always required, even in one liners. rule
License
This library is open-sourced software licensed under the MIT license.
Authors
Hostelworld Team