-
-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
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
Bug: Missing expected ) in out of project file #143
Comments
There is currently too little information I think you're using Angular because the problem seems to be from If you NOT using Angular AND your code gets formatted, then I maybe need to just declare this as a warning 🤔 Lines 345 to 359 in 9571d5c
|
Sorry I forgot to clarify which framework I am using. Both of the projects I am working on are using Vue 2 and one is also using Nuxt. So I do not even use Angular which makes it so strange. This is my prettierrc:
|
Ok so I have two questions
|
|
With CLI you may find out what file it was If it's closed source you may send it to me via mail, you can find my mail in package.json ^^ |
Okay I got there by running lint with --debug flag. It is complaining about this file: v-card.calendar-event
v-toolbar(:color="calendarEvent.color" dark)
span {{ calendarEvent.shift.title }}
v-spacer
v-btn(icon @click="$emit('close')")
v-icon(color="white") close
v-card-text
v-layout
b.section-title.pr-2.pb-2 {{ $t('skill.plural') }}:
span#skills {{ join(calendarEvent.shift.skills, (x) => x.name) }}
v-layout
b.section-title.pr-2 {{ $t('schedule.employees') }}:
span#employees {{ join(calendarEvent.shift.users, (x) => x.firstName + ' ' + x.lastName) }}
v-card-actions
v-btn#view(:to="{ name: 'shift-detail', params: { id: calendarEvent.shift.id } }" text color="info")
v-icon.pr-1(small) visibility
span {{ $t('actions.view') }}
v-spacer
v-btn#edit(:to="{ name: 'shift-id-edit', params: { id: calendarEvent.shift.id } }" text color="info")
v-icon.pr-1(small) edit
span {{ $t('actions.edit') }} I couldn't find anything wrong with it very fast |
Thank you 👍 I will work on this when I'm back home I think it's coming from one of these span#skills {{ join(calendarEvent.shift.skills, (x) => x.name) }}
^ ^
//- and
span#employees {{ join(calendarEvent.shift.users, (x) => x.firstName + ' ' + x.lastName) }}
^ ^ In the meantime you could try a (maybe) workaround ^^ //- instead of
span#skills {{ join(calendarEvent.shift.skills, (x) => x.name) }}
//- do
span#skills(v-text="join(calendarEvent.shift.skills, (x) => x.name)") |
fixed via c0319bf I hope it's ok for you to wait until we have some more/other features 🙂 |
Of course that is okay! It is not blocking anything. Just a lot of warnings when building. I'll be looking out for the next release. Thanks for you help and quick response! |
Info
Output or Error
Expected Output
Additional Context
I keep getting an error without a file specified in which the error occurs (or within my project). I get this error with two different projects.
The text was updated successfully, but these errors were encountered: