Skip to content

Commit 8f0ef7a

Browse files
committed
improved comments in eslintrc
1 parent 4ffbb28 commit 8f0ef7a

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

template/.eslintrc.js

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,22 @@ module.exports = {
1010
browser: true,
1111
},
1212
{{#if_eq lintConfig "standard"}}
13-
// https://github.com/standard/standard/blob/master/docs/RULES-en.md
14-
extends: ['plugin:vue/essential', 'standard'],
13+
extends: [
14+
// https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention
15+
// consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules.
16+
'plugin:vue/essential',
17+
// https://github.com/standard/standard/blob/master/docs/RULES-en.md
18+
'standard'
19+
],
1520
{{/if_eq}}
1621
{{#if_eq lintConfig "airbnb"}}
1722
// https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention
23+
// consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules.
1824
extends: ['plugin:vue/essential', 'airbnb-base'],
1925
{{/if_eq}}
2026
{{#if_eq lintConfig "none"}}
2127
// https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention
28+
// consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules.
2229
extends: ['plugin:vue/essential'],
2330
{{/if_eq}}
2431
// required to lint *.vue files

0 commit comments

Comments
 (0)