Open orsileonel opened 7 months ago
Now it seems to be working but only with the index.vue
file, when adding the following to the stylelint config in nuxt.config.js
:
include: ['*.{vue,pcss}', '**/*.{vue,pcss}']
Seems to not do anything, when it should lint .vue
and .pcss
files under assets, layouts, pages, and components folders:
Hello, thank you for this great module!
I don't know if this is the correct place to ask for this, but I have the following issue which was working before.
Everything is working correctly regarding the configuration of my stylelint, it is showing the errors based on my rules when running
yarn lint:style
command which basically executesstylelint \"**/*.{vue,html,css,pcss,scss,sass}\"
:Example:
It also shows me the errors in VSCode:
Now the issue comes when I run
yarn dev
, it executes the webpage without displaying any errors, but if I remove thelang="postcss"
from the<style>
it does display the window with the errors (although it does only with the.vue
files, not the ones in the.pcss
ones):package.json
nuxt.config.js
.stylelintrc.cjs
Is there any way to fix this so that when I use development mode it displays the errors like when I execute the linter manually?
Thank you!