From 0e8cc178a3d84133dfdd38ae67338d218ff3177c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Sajn=C3=B3g?= Date: Mon, 12 Nov 2018 23:42:05 +0100 Subject: [PATCH] chore: Update uncategorized rules' categories --- lib/rules/component-name-in-template-casing.js | 2 +- lib/rules/multiline-html-element-content-newline.js | 2 +- lib/rules/no-spaces-around-equal-signs-in-attribute.js | 2 +- lib/rules/singleline-html-element-content-newline.js | 2 +- lib/rules/use-v-on-exact.js | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/rules/component-name-in-template-casing.js b/lib/rules/component-name-in-template-casing.js index 6de8e6681..eb85e8a99 100644 --- a/lib/rules/component-name-in-template-casing.js +++ b/lib/rules/component-name-in-template-casing.js @@ -22,7 +22,7 @@ module.exports = { meta: { docs: { description: 'enforce specific casing for the component naming style in template', - category: undefined, // strongly-recommended + category: 'strongly-recommended', url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0-beta.4/docs/rules/component-name-in-template-casing.md' }, fixable: 'code', diff --git a/lib/rules/multiline-html-element-content-newline.js b/lib/rules/multiline-html-element-content-newline.js index 415c8ddf4..c32db8e6c 100644 --- a/lib/rules/multiline-html-element-content-newline.js +++ b/lib/rules/multiline-html-element-content-newline.js @@ -51,7 +51,7 @@ module.exports = { meta: { docs: { description: 'require a line break before and after the contents of a multiline element', - category: undefined, + category: 'strongly-recommended', url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0-beta.4/docs/rules/multiline-html-element-content-newline.md' }, fixable: 'whitespace', diff --git a/lib/rules/no-spaces-around-equal-signs-in-attribute.js b/lib/rules/no-spaces-around-equal-signs-in-attribute.js index 3a2dbb891..eefe09e87 100644 --- a/lib/rules/no-spaces-around-equal-signs-in-attribute.js +++ b/lib/rules/no-spaces-around-equal-signs-in-attribute.js @@ -18,7 +18,7 @@ module.exports = { meta: { docs: { description: 'disallow spaces around equal signs in attribute', - category: undefined, + category: 'strongly-recommended', url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0-beta.4/docs/rules/no-spaces-around-equal-signs-in-attribute.md' }, fixable: 'whitespace', diff --git a/lib/rules/singleline-html-element-content-newline.js b/lib/rules/singleline-html-element-content-newline.js index 309f789d4..f444a9908 100644 --- a/lib/rules/singleline-html-element-content-newline.js +++ b/lib/rules/singleline-html-element-content-newline.js @@ -46,7 +46,7 @@ module.exports = { meta: { docs: { description: 'require a line break before and after the contents of a singleline element', - category: undefined, + category: 'strongly-recommended', url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0-beta.4/docs/rules/singleline-html-element-content-newline.md' }, fixable: 'whitespace', diff --git a/lib/rules/use-v-on-exact.js b/lib/rules/use-v-on-exact.js index 959dec01e..8291b9af0 100644 --- a/lib/rules/use-v-on-exact.js +++ b/lib/rules/use-v-on-exact.js @@ -18,7 +18,7 @@ module.exports = { meta: { docs: { description: 'enforce usage of `exact` modifier on `v-on`', - category: undefined, // essential + category: 'essential', url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0-beta.4/docs/rules/use-v-on-exact.md' }, fixable: null,