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
stylint throws an exception when ./frontend/src folder does not contain .css/.scss/.ovverride
"Error: No files matching the pattern "theme/**/*.{css,scss,less}, src/**/*.{css,scss,less}" were found.
at standalone (/Users/xxxx/ploneconf2023/frontend/node_modules/stylelint/lib/standalone.js:261:43)
make[1]: *** [format-stylelint] Error 1
make: *** [format] Error 2"
To avoid it I used the --allow-empty-input option on stylelint, to have it working I changed the frontend/package.json file changing lines "stylelint:overrides" and "stylelint:overrides" in the following way:
@fredvd the generator is already taken care of it. @elcoda as far as I know, the --allow-empty-input --fix are not compatible, are you sure that it's working? I know because I tried to fix it long ago.
If you don't have styles, then you have to remove the :fix from your flow until you have. That's how you workaround it.
``When using
make format
stylint throws an exception when ./frontend/src folder does not contain .css/.scss/.ovverride
To avoid it I used the
--allow-empty-input
option on stylelint, to have it working I changed thefrontend/package.json
file changing lines "stylelint:overrides" and "stylelint:overrides" in the following way:I have no clue to make this change permanent on cookiecutter-plone-starter.
Ivan
The text was updated successfully, but these errors were encountered: