diff --git a/docs/rules/component-definition-name-casing.md b/docs/rules/component-definition-name-casing.md index 29b239dea..d43d0ded9 100644 --- a/docs/rules/component-definition-name-casing.md +++ b/docs/rules/component-definition-name-casing.md @@ -9,9 +9,11 @@ description: enforce specific casing for component definition name - :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. +Define a style for component definition name casing for consistency purposes. + ## :book: Rule Details -Define a style for component definition name casing for consistency purposes. +This rule aims to warn the component definition names other than the configured casing. ## :wrench: Options diff --git a/docs/rules/no-irregular-whitespace.md b/docs/rules/no-irregular-whitespace.md index 536e0d4e8..7fd4efcd9 100644 --- a/docs/rules/no-irregular-whitespace.md +++ b/docs/rules/no-irregular-whitespace.md @@ -7,6 +7,8 @@ description: disallow irregular whitespace # vue/no-irregular-whitespace > disallow irregular whitespace +## :book: Rule Details + `vue/no-irregular-whitespace` rule is aimed at catching invalid whitespace that is not a normal tab and space. Some of these characters may cause issues in modern browsers and others will be a debugging issue to spot. `vue/no-irregular-whitespace` rule is the similar rule as core [no-irregular-whitespace] rule but it applies to the source code in .vue. diff --git a/lib/rules/attributes-order.js b/lib/rules/attributes-order.js index 5aac15b63..afa0b3c5a 100644 --- a/lib/rules/attributes-order.js +++ b/lib/rules/attributes-order.js @@ -19,8 +19,8 @@ const ATTRS = { OTHER_DIRECTIVES: 'OTHER_DIRECTIVES', OTHER_ATTR: 'OTHER_ATTR', EVENTS: 'EVENTS', - CONTENT: 'CONTENT', -}; + CONTENT: 'CONTENT' +} function getAttributeType (attribute, sourceCode) { const isBind = attribute.directive && attribute.key.name.name === 'bind'