当前node16.16.0
package.json
"stylelint": "^14.5.1",
"stylelint-config-clean-order": "^0.8.0",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-rational-order": "^0.1.2",
"stylelint-config-recommended-scss": "^5.0.2",
"stylelint-config-recommended-vue": "^1.5.0",
"stylelint-config-standard-scss": "^3.0.0",
"stylelint-scss": "^4.3.0",
报错:
�[2m253:1�[22m �[31m�[31m✖�[39m Unknown rule media-query-no-invalid �[2mmedia-query-no-invalid�[22m
�[2m253:1�[22m �[31m�[31m✖�[39m Unknown rule selector-anb-no-unmatchable �[2mselector-anb-no-unmatchable�[22m
解决:
升级stylelint到
"stylelint": "^15.0.0",