Stylelint


$ yarn add -D stylelint stylelint-config-standard stylelint-order stylelint-order-config-standard


.stylelintrc.json


{
  "extends": ["stylelint-config-standard", "stylelint-order-config-standard"],
  "plugins": ["stylelint-order"],
  "rules": {
    "color-hex-case": "upper"
  }
}


package.json


***
"stylelint": "stylelint \"**/*.css\" --fix",
***