npm

Need private packages and team management tools?Check out npm Orgs. »

eslint-config-hostelworld

1.1.1 • Public • Published

eslint-config-hostelworld

Build Status npm npm

ESLint Shareable Config extending eslint-config-standard.

Installation

  1. First install the following npm packages:

    # core package 
    npm install --save-dev eslint-config-hostelworld
    # plus the peer dependencies 
    npm install --save-dev eslint eslint-config-standard eslint-plugin-import eslint-plugin-node eslint-plugin-promise eslint-plugin-standard
  2. Then add eslint-config-hostelworld to your .eslintrc.* extends section:

    {
        "extends": [
            "hostelworld"
        ],
        "rules": {
            // Additional, per-project rules or overrides...
        }
    }

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

install

npm i eslint-config-hostelworld

Downloadsweekly downloads

4

version

1.1.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
Report a vulnerability