Skip to content

Commit

Permalink
Update documents and Fixed lint error (#1014)
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Dec 26, 2019
1 parent d397635 commit 99fe70d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion docs/rules/component-definition-name-casing.md
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions docs/rules/no-irregular-whitespace.md
Expand Up @@ -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.

Expand Down
4 changes: 2 additions & 2 deletions lib/rules/attributes-order.js
Expand Up @@ -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'
Expand Down

0 comments on commit 99fe70d

Please sign in to comment.