Skip to content

Commit

Permalink
switch to essential ruleset.
Browse files Browse the repository at this point in the history
recommended might be too much to start with
  • Loading branch information
LinusBorg committed Jan 2, 2018
1 parent 983f6ec commit aa9013f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions template/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ module.exports = {
},
{{#if_eq lintConfig "standard"}}
// https://github.com/standard/standard/blob/master/docs/RULES-en.md
extends: ['plugin:vue/recommended', 'standard'],
extends: ['plugin:vue/essential', 'standard'],
{{/if_eq}}
{{#if_eq lintConfig "airbnb"}}
// https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention
extends: ['plugin:vue/recommended', 'airbnb-base'],
extends: ['plugin:vue/essential', 'airbnb-base'],
{{/if_eq}}
{{#if_eq lintConfig "none"}}
// https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention
extends: ['plugin:vue/recommended'],
extends: ['plugin:vue/essential'],
{{/if_eq}}
// required to lint *.vue files
plugins: [
Expand Down

0 comments on commit aa9013f

Please sign in to comment.