chore: eslint format yml files

This commit is contained in:
TonyRL
2022-02-06 00:09:49 +08:00
parent b02747cdbb
commit 36da2563b7
+3 -3
View File
@@ -16,9 +16,9 @@
"build:radar": "node scripts/workflow/build-radar.js",
"build:maintainer": "node scripts/workflow/build-maintainer.js",
"lint": "eslint .",
"format": "eslint \"**/*.js\" --fix && node docs/.format/format.js && prettier \"**/*.{js,json}\" --write",
"format:staged": "eslint \"**/*.js\" --fix && node docs/.format/format.js --staged && pretty-quick --staged --verbose --pattern \"**/*.{js,json}\"",
"format:check": "eslint \"**/*.js\" && prettier-check \"**/*.{js,json}\"",
"format": "eslint \"**/*.{js,yml}\" --fix && node docs/.format/format.js && prettier \"**/*.{js,json}\" --write",
"format:staged": "eslint \"**/*.{js,yml}\" --fix && node docs/.format/format.js --staged && pretty-quick --staged --verbose --pattern \"**/*.{js,json}\"",
"format:check": "eslint \"**/*.{js,yml}\" && prettier-check \"**/*.{js,json}\"",
"test": "npm run format:check && cross-env NODE_ENV=test jest --coverage --runInBand --forceExit",
"jest": "cross-env NODE_ENV=test jest --runInBand --forceExit",
"jest:watch": "cross-env NODE_ENV=test jest --watch"