From d919568faa3d6a89dcd9a6d7a6976c5cba9bdc26 Mon Sep 17 00:00:00 2001 From: yosuke ota Date: Sun, 2 Dec 2018 21:04:48 +0900 Subject: [PATCH] Changed the category of `html-quotes` to `strongly-recommended`. --- docs/rules/html-quotes.md | 6 +++++- lib/rules/html-quotes.js | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/rules/html-quotes.md b/docs/rules/html-quotes.md index 376c8ba7b..7380d7629 100644 --- a/docs/rules/html-quotes.md +++ b/docs/rules/html-quotes.md @@ -1,6 +1,6 @@ # enforce quotes style of HTML attributes (vue/html-quotes) -- :gear: This rule is included in `"plugin:vue/recommended"`. +- :gear: This rule is included in `"plugin:vue/strongly-recommended"` and `"plugin:vue/recommended"`. - :wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule. You can choose quotes of HTML attributes from: @@ -45,3 +45,7 @@ This rule reports the quotes of attributes if it is different to configured quot - `"double"` (default) ... requires double quotes. - `"single"` ... requires single quotes. + +## Related links + +- [Style guide - Quoted attribute values](https://vuejs.org/v2/style-guide/#Quoted-attribute-values-strongly-recommended) diff --git a/lib/rules/html-quotes.js b/lib/rules/html-quotes.js index d5bed15f4..353feb226 100644 --- a/lib/rules/html-quotes.js +++ b/lib/rules/html-quotes.js @@ -20,7 +20,7 @@ module.exports = { type: 'layout', docs: { description: 'enforce quotes style of HTML attributes', - category: 'recommended', + category: 'strongly-recommended', url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0-beta.5/docs/rules/html-quotes.md' }, fixable: 'code',