Open ajiho opened 2 months ago
Thanks for reporting! It looks like stylelint v16 did away with CommonJS require and we must use imports now instead.
The change likely needs to happen here:
https://github.com/prettier/stylelint-config-prettier-scss/blob/main/src/checker.js#L3-L5 https://github.com/prettier/stylelint-config-prettier-scss/blob/main/bin/check.js#L3
I'm not sure when exactly I'll have time to make the change and test it out, but I'd be happy to review a PR and get a release out if anyone wants to take a stab at it!
package.json
run :
npm run stylelint-scss-check
my stylelint version: "stylelint": "^16.9.0",
I think
stylelint-config-prettier
did not take into account some special situations, such as when I use stylelint-config-twbs-bootstrap, it still needs to handle conflictsThis bag is very necessary to exist, thank you very much for your work
However, there will still be some conflicting issues that need to be resolved, and I will continue to report later