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:
@ -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",
|
||||
|
Reference in New Issue
Block a user