We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
my installed eslint packages are the following:
[email protected] vue-eslint-parser@^1.1.0-7 [email protected] [email protected] eslint-scope@^3.7.1 [email protected] eslint@^4.0.0 [email protected] eslint-scope@^3.7.1`
my config file contains:
"extends": [ "plugin:vue/recommended" ],
The following lines of HTML
<a title="upload file" href="" class="button" @click.prevent="setUploadType('DIR'); showModal('uploadFile')"> <i class="fa fa-fw fa-lg fa-cloud-upload" aria-hidden="true"></i> </a>
are producing this error:
32:79 error Parsing error: Unexpected token ; vue/no-parsing-error
Calling two methods in one @click is working and seems to be valid javascript. So maybe this is a bug in this rule.
The text was updated successfully, but these errors were encountered:
Thank you for the report.
I confirmed it. This is a problem of vue-eslint-parser package. I'm working on rewriting it. It will get done within this month.
Sorry, something went wrong.
Fix: several bugs and improve syntax errors (fixes #36, fixes #56, fixes
381b7a0
#96)
Update: upgrade vue-eslint-parser (fixes #36, fixes #56, fixes #96) (#…
49b40d6
…116) * Chore: upgrade dependencies * Fix: several bugs and improve syntax errors (fixes #36, fixes #56, fixes #96) * add more tests.
Merge branch 'master' into 47-props-per-line
2f0492d
* master: Add rule `vue/require-valid-default-prop`. (vuejs#119) 3.10.0 Update readme to 3.10.0 Chore: remove package-lock.json (vuejs#128) Fix: parserService must exist always (fixes vuejs#125) (vuejs#127) Add rule `require-render-return`. (vuejs#114) 3.9.0 Update package-lock Update: options for `no-duplicate-attributes` (fixes vuejs#112)(vuejs#113) New: add rule `attribute-hyphenation`. (fixes vuejs#92)(vuejs#95) Add namespace check of svg & mathML instead of tag names (vuejs#120) ⚠️ Add support for deprecated state in update-rules ⚠️ (vuejs#121) Add rules: `no-dupe-keys` and `no-reserved-keys`. (vuejs#88) Chore: Improve tests for name-property-casing & improve documentation (vuejs#115) New: add `require-prop-types` rule (fixes vuejs#19)(vuejs#85) Update: upgrade vue-eslint-parser (fixes vuejs#36, fixes vuejs#56, fixes vuejs#96) (vuejs#116)
mysticatea
Successfully merging a pull request may close this issue.
Hi,
my installed eslint packages are the following:
my config file contains:
The following lines of HTML
are producing this error:
32:79 error Parsing error: Unexpected token ; vue/no-parsing-error
Calling two methods in one @click is working and seems to be valid javascript.
So maybe this is a bug in this rule.
The text was updated successfully, but these errors were encountered: