You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using eslint cli, vue/no-parsing-error errors as expected when there's empty braces in a vue app {{}}. But when using eslint-loader for webpack the error does not appear.
Unsure if this is the only rule that is affected but so far it appears to be the only one.
Also unsure if this is an issue with eslint-loader or the rule itself but hopefully we can figure out where to point fingers.
I can recreate this by:
Creating a new vue cli project using the webpack-simple template (vue init webpack-simple)
Installing eslint-plugin-vue, eslint and the eslint-loader
Add the webpack config above to the default config
Add the .eslintrc.json file.
Put some empty braces in the App.vue file
Run eslint cli & webpack
Compare results
The text was updated successfully, but these errors were encountered:
The result of no-parsing-error rule depends on only source code text.
So if you see different behavior between eslint and eslint-loader, it can be an issue of eslint-loader.
Tell us about your environment
Please show your full configuration:
.eslintrc.json
webpack config - module rules
What did you expect to happen?
When using eslint cli, vue/no-parsing-error errors as expected when there's empty braces in a vue app
{{}}
. But when using eslint-loader for webpack the error does not appear.Unsure if this is the only rule that is affected but so far it appears to be the only one.
Also unsure if this is an issue with eslint-loader or the rule itself but hopefully we can figure out where to point fingers.
I can recreate this by:
vue init webpack-simple
)The text was updated successfully, but these errors were encountered: