Socket
Socket
Sign inDemoInstall

eslint-config-hostelworld

Package Overview
Dependencies
205
Maintainers
3
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    eslint-config-hostelworld

Hostelworld ESLint Shareable Config


Version published
Weekly downloads
2
Maintainers
3
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 14 Dec 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc