Hostelworld / eslint-config-hostelworld-vue

Hostelworld ESLint Shareable Config for Vue.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eslint-config-hostelworld-vue

Build Status npm npm

ESLint Shareable Config for Vue.js extending:

Installation

  1. First install the following npm packages:

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

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

Additional rules

  • 3 attributes maximum in a single line. rule
  • 4 spaces for HTML indentation within the templates. rule

License

This library is open-sourced software licensed under the MIT license.

Authors

Hostelworld Team

About

Hostelworld ESLint Shareable Config for Vue.js

License:MIT License


Languages

Language:JavaScript 100.0%