1. eslint-config-hostelworld
Hostelworld ESLint Shareable Config
eslint-config-hostelworld
Package: eslint-config-hostelworld
Created by: Hostelworld
Last modified: Sun, 01 May 2022 13:32:57 GMT
Version: 1.1.1
License: MIT
Downloads: 7
Repository: https://github.com/Hostelworld/eslint-config-hostelworld

Install

npm install eslint-config-hostelworld
yarn add eslint-config-hostelworld

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

RELATED POST

10 Must-Know Windows Shortcuts That Will Save You Time

10 Must-Know Windows Shortcuts That Will Save You Time

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Navigating AWS Networking: Essential Hacks for Smooth Operation

Navigating AWS Networking: Essential Hacks for Smooth Operation

Achieving Stunning Visuals with Unity's Global Illumination

Achieving Stunning Visuals with Unity's Global Illumination

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code