From c67ebc422f3203039c04b25aa82db3705cdafd96 Mon Sep 17 00:00:00 2001 From: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Date: Fri, 21 Apr 2023 10:36:37 +0200 Subject: [PATCH 1/2] chore: run Prettier on all files (#724) --- example/renovate-config.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/example/renovate-config.js b/example/renovate-config.js index cc50a6c7..ceafc25d 100644 --- a/example/renovate-config.js +++ b/example/renovate-config.js @@ -6,10 +6,7 @@ module.exports = { platform: 'github', includeForks: true, dryRun: 'full', - repositories: [ - 'renovate-tests/cocoapods1', - 'renovate-tests/gomod1', - ], + repositories: ['renovate-tests/cocoapods1', 'renovate-tests/gomod1'], packageRules: [ { description: 'lockFileMaintenance', From 70a44dc3e94469e08d01d8c8e72c4c0f98c05381 Mon Sep 17 00:00:00 2001 From: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Date: Fri, 21 Apr 2023 10:36:51 +0200 Subject: [PATCH 2/2] chore: use Prettier's cache feature (#723) --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 88f38fdc..3d652902 100644 --- a/package.json +++ b/package.json @@ -22,8 +22,8 @@ "build": "run-s clean compile", "clean": "rimraf dist/", "compile": "ncc build -o dist --target es2021", - "format": "prettier --ignore-unknown --write \"**/*.*\"", - "format:file": "prettier --write", + "format": "prettier --cache --ignore-unknown --write \"**/*.*\"", + "format:file": "prettier --cache --write", "lint": "run-s lint-es", "lint-es": "eslint .", "lint-es:file": "eslint",