matype/stylefmt

Update stylelint dependency

guilhermehn opened this issue · 2 comments

stylefmt is not working with the newer version of stylelint because of the new rule selector-max-id, which deprecates the selector-no-id rule.

stylefmt's stylelint version: 7.10.1
current stylelint version: 7.12.0

stylelint recently reached 8.0.0

I'm little bit confused I get: Undefined rule selector-max-id at module.exports (node_modules/stylefmt/node_modules/stylelint/lib/utils/configurationError.js:8:27)
with ^5.* it works with stylefmt ^6.0.0 it doesn't. I did set my version back to 5 but not sure why 5 version works and 6 doesn't work with the newest stylelint.

Working:

    "stylefmt": "^5.3.2",
    "stylelint": "^8.1.1",
    "stylelint-config-standard": "^17.0.0",

Not Working:

    "stylefmt": "^6.0.0",
    "stylelint": "^8.1.1",
    "stylelint-config-standard": "^17.0.0",

UPDATE:

I'm not sure why but after a clean install and a restart it works. so maybe issue with yarn.