File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ ESLint supports autofix on custom parsers but does not support autofix on plugin
16
16
$ npm install --save-dev eslint vue-eslint-parser
17
17
```
18
18
19
- - ` vue-eslint-parser ` requires ESLint 3.5 .0 or later.
19
+ - ` vue-eslint-parser ` requires ESLint 3.9 .0 or later.
20
20
21
21
## :book : Usage
22
22
Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ class Parser {
209
209
* Parse the .vue code with the parsers that options specified.
210
210
*
211
211
* @param {string } code - The .vue code to be parsed.
212
- * @returns {ASTNode } The result of parsing.
212
+ * @returns {{ast: ASTNode, services: any} } The result of parsing.
213
213
*/
214
214
parseComponent ( code ) {
215
215
if ( ! this . isVueComponent ) {
@@ -219,7 +219,7 @@ class Parser {
219
219
const info = parseComponent ( code )
220
220
const result = this . parseScriptNode ( code , info . script )
221
221
222
- return result . ast
222
+ return result
223
223
}
224
224
}
225
225
You can’t perform that action at this time.
0 commit comments