This repository has been archived by the owner on Apr 19, 2022. It is now read-only.
Bug: "Cannot read properties of undefined (reading 'val')" Rule 'require-v-for-key' #143
Labels
bug
Something isn't working
Info
Eslint config
Input
Output or Error
Expected Output
No Error, but the eslint error for require-v-for-key
Additional Context
First of all thanks for the amazing work!. This will helps us write Pug templates :D.
In regards to the bug, I found files that had the require-v-for-key rule in effect and works correctly. Only on this file it throws the undefined error. I also checked the rules one by one (because it says the error is on this-in-template) and the rule 'require-v-for-key' was the one throwing the error.
If the key is added to the file correctly there are no errors and all works perfectly. So i think its an error of the rule. Can you check what may be causing this error?
The text was updated successfully, but these errors were encountered: