Correct prettier calls for YML/JSON (#21832)

* Fix fomat-check writing files

* Fix unformatted YML/JSON

* Add format-check call to prevent regressions
This commit is contained in:
Nick Schonning
2022-12-02 22:05:35 -05:00
committed by GitHub
parent 2413e5f3f0
commit f77ed3a6b2
6 changed files with 16 additions and 19 deletions

View File

@ -15,8 +15,8 @@
"test:lint:js": "eslint --ext=js . --cache",
"test:lint:sass": "stylelint '**/*.scss'",
"test:jest": "cross-env NODE_ENV=test jest",
"format": "prettier --write '**/*.{json,yml}'",
"format-check": "prettier --write '**/*.{json,yml}'"
"format": "prettier --write \"**/*.{json,yml}\"",
"format-check": "prettier --check \"**/*.{json,yml}\""
},
"repository": {
"type": "git",