vue-eslint-parser Vue文件ESLint解析器

ESLint 的.vue 文件专用解析器,vue-eslint-parser,用过都说好。

你在写 Vue 的时候,如果 template 里加了复杂表达式或者用了些骚操作,像v-if="a && b ? c : d"这种,其实容易出错。但你平时靠 ESLint 检查,有时候压根抓不到。

vue-eslint-parser的作用就是,把.vue文件读懂,尤其是把

vue文件的eslint自定义解析器
vue-eslint-parser:.vue文件的ESLint自定义解析器 预估大小:712个文件
file
.gitmodules 108B
file
core-rules.js 7KB
file
index.js 22KB
file
ast.js 9KB
file
tokens.js 8KB
file
variables-references.js 13KB
file
document-fragment.js 3KB
file
espree.js 2KB
file
define-custom-blocks-visitor.js 19KB
file
typed.vue.fixed 274B
file
hello.vue.fixed 229B
file
source.html 338B
file
source.html 58B
file
notvue.js.fixed 22B
file
.gitignore 88B
file
.eslintignore 121B
file
update-fixtures-document-fragment.js 3KB
file
update-fixtures-ast.js 4KB
file
ci-install-eslint.js 1KB
file
.gitattributes 52B
zip 文件大小:674.81KB