Closed MrZyr0 closed 2 years ago
Welcome! π
Thanks you for creating the issue. π I will come back to this as soon as possible.
Hey - there are a couple of things:
template
section of your .vue
fileoff
, you can enable it with a custom configuration.If you for example add const theMaster = 'test';
, that will give a linting warning out-of-the-box.
Hey, sorry for the late reply.
I don't really understand why your plugin doesn't look in strings π€. Does it mean that the plugin is only useful for developers who want more inclusive code? But it doesn't impact the result for the client at all?
As mentioned before, you can lint for strings by enabling a custom configuration.
And I also mentioned that this plugin validates JavaScript code (because ESlint is a JavaScript linter). For other file types you've to investigate the usage of a custom parser for ESlint, like vue-eslint-parser.
hummm okay, thank you for your precision.
Sorry for the inconvenience
Hello everyone π
I am very interested in this plugin for my open-source project SCT.
I want to use it for the frontend, which uses Nuxt.Js 2, but eslint does nothing.
index.vue
eslint --ext \".js,.vue\" --ignore-path .gitignore .