-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Fix has invalid range #76
Comments
I think this is happening when this rule is turned on: If I comment it out, eslint works as expected. |
The existing test for this passes: eslint-plugin-vuetify/tests/rules/no-deprecated-slots.js Lines 47 to 65 in d3cc998
For some reason node.start/end exist in the tests but not an actual project.
|
I was debugging it yesterday (what a coincidence) and was going to make a PR today so i'm surprised it's already fixed :) @KaelWD when do you expect a new release with this fix? |
It seems like eslint-plugin-vuetify 2.1.0 throws
AssertionError [ERR_ASSERTION]: Fix has invalid range
for a lot of cases which work in 2.0.5. It seems like the null range returned from some eslint-plugin-vuetify rules makes eslint throw a fit and stop linting.Might want to check the output range of fixes before returning it to eslint. If a valid range cannot be found, that could be a warning instead - so that eslint does not crash.
Although it seems like a multitude of cases exist, I have boiled it down to a minimal repro:
=>
The text was updated successfully, but these errors were encountered: