Skip to content

Commit 99fe70d

Browse files
authored
Update documents and Fixed lint error (#1014)
1 parent d397635 commit 99fe70d

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

docs/rules/component-definition-name-casing.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ description: enforce specific casing for component definition name
99
1010
- :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.
1111

12+
Define a style for component definition name casing for consistency purposes.
13+
1214
## :book: Rule Details
1315

14-
Define a style for component definition name casing for consistency purposes.
16+
This rule aims to warn the component definition names other than the configured casing.
1517

1618
## :wrench: Options
1719

docs/rules/no-irregular-whitespace.md

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ description: disallow irregular whitespace
77
# vue/no-irregular-whitespace
88
> disallow irregular whitespace
99
10+
## :book: Rule Details
11+
1012
`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.
1113
`vue/no-irregular-whitespace` rule is the similar rule as core [no-irregular-whitespace] rule but it applies to the source code in .vue.
1214

lib/rules/attributes-order.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ const ATTRS = {
1919
OTHER_DIRECTIVES: 'OTHER_DIRECTIVES',
2020
OTHER_ATTR: 'OTHER_ATTR',
2121
EVENTS: 'EVENTS',
22-
CONTENT: 'CONTENT',
23-
};
22+
CONTENT: 'CONTENT'
23+
}
2424

2525
function getAttributeType (attribute, sourceCode) {
2626
const isBind = attribute.directive && attribute.key.name.name === 'bind'

0 commit comments

Comments
 (0)