From 36da2563b7dcc51a8f6b7433df088fb402d4ce12 Mon Sep 17 00:00:00 2001 From: TonyRL Date: Sun, 6 Feb 2022 00:09:49 +0800 Subject: [PATCH] chore: eslint format yml files --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 5768e59062..b0c91a7f41 100644 --- a/package.json +++ b/package.json @@ -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"