Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 01b1abc

Browse files
committedAug 6, 2017
Update redame
1 parent 50c1ea0 commit 01b1abc

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
 

‎README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,18 @@ module.exports = {
4444
}
4545
```
4646

47+
### This plugin currently is able to detect both component and new instances of vue:
48+
49+
#### Components are detected based on:
50+
- `Vue.component` expression
51+
- `export default {` in **.vue** and **.jsx** files
52+
53+
If you want to support custom **.js** files to be checked in terms of the available rules you needs to add comment in line before object declaration witch contains phrase `@vue/component`.
54+
55+
#### New instances of vue are detected based on:
56+
- `new Vue(`
57+
- `Vue.extends(`
58+
4759
## :gear: Configs
4860

4961
This plugin provides two predefined configs:

0 commit comments

Comments
 (0)
Please sign in to comment.