Upgrade to Stylelint 15 with Prettier (#23558)

This commit is contained in:
Nick Schonning
2023-02-12 22:57:03 -05:00
committed by GitHub
parent c812cfa667
commit 0c9d455ea5
20 changed files with 311 additions and 179 deletions

View File

@ -13,7 +13,7 @@
"test": "${npm_execpath} run test:lint:js && ${npm_execpath} run test:jest",
"test:lint": "${npm_execpath} run test:lint:js && ${npm_execpath} run test:lint:sass",
"test:lint:js": "eslint --ext=js . --cache --report-unused-disable-directives",
"test:lint:sass": "stylelint \"**/*.{css,scss}\"",
"test:lint:sass": "stylelint \"**/*.{css,scss}\" && prettier --check \"**/*.{css,scss}\"",
"test:jest": "cross-env NODE_ENV=test jest",
"format": "prettier --write \"**/*.{json,yml}\"",
"format-check": "prettier --check \"**/*.{json,yml}\""
@ -157,8 +157,8 @@
"raf": "^3.4.1",
"react-intl-translations-manager": "^5.0.3",
"react-test-renderer": "^16.14.0",
"stylelint": "^14.16.1",
"stylelint-config-standard-scss": "^6.1.0",
"stylelint": "^15.1.0",
"stylelint-config-standard-scss": "^7.0.0",
"webpack-dev-server": "^3.11.3",
"yargs": "^17.6.2"
},