eslint-config-hostelworld-vue
ESLint Shareable Config for Vue.js extending:
Installation
-
First install the following npm packages:
# core packagenpm install --save-dev eslint-config-hostelworld-vue# plus the peer dependenciesnpm 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 -
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.