Format JSON and YAML using Prettier (#17823)
* Format JSON and YAML using Prettier * Add prettier to devDep
This commit is contained in:
committed by
GitHub
parent
cf5435bb27
commit
584d8b977b
@ -14,7 +14,9 @@
|
||||
"test:lint": "${npm_execpath} run test:lint:js && ${npm_execpath} run test:lint:sass",
|
||||
"test:lint:js": "eslint --ext=js . --cache",
|
||||
"test:lint:sass": "sass-lint -v",
|
||||
"test:jest": "cross-env NODE_ENV=test jest"
|
||||
"test:jest": "cross-env NODE_ENV=test jest",
|
||||
"format": "prettier --write '**/*.{json,yml}",
|
||||
"format-check": "prettier --write '**/*.{json,yml}"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@ -182,6 +184,7 @@
|
||||
"eslint-plugin-promise": "~6.0.0",
|
||||
"eslint-plugin-react": "~7.29.3",
|
||||
"jest": "^27.5.1",
|
||||
"prettier": "^2.6.0",
|
||||
"raf": "^3.4.1",
|
||||
"react-intl-translations-manager": "^5.0.3",
|
||||
"react-test-renderer": "^16.14.0",
|
||||
|
Reference in New Issue
Block a user