From b6808c006b82c22eb3eeca93b68886a50b882ff2 Mon Sep 17 00:00:00 2001 From: Jason Dent Date: Sat, 9 Nov 2024 13:11:21 +0100 Subject: [PATCH] chore: Add lint:fix script --- .cspell.config.yaml | 2 +- package.json | 3 ++- release-please-config.json | 4 +--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.cspell.config.yaml b/.cspell.config.yaml index 1735230..85a4d94 100644 --- a/.cspell.config.yaml +++ b/.cspell.config.yaml @@ -1,7 +1,7 @@ ignorePaths: - .git/objects - .gitignore - - '*.sample' + - "*.sample" - CHANGELOG.md - node_modules - package-lock.json diff --git a/package.json b/package.json index f50a603..58b13c4 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ }, "type": "module", "scripts": { + "lint:fix": "prettier --write .", "build:readme": "npm run build:help && inject-markdown README.md", "build:help": "node index.js --help > static/help.txt", "test": "node ./index.js ." @@ -36,7 +37,7 @@ "node": ">=18" }, "dependencies": { - "inject-markdown": "^3.1.0" + "inject-markdown": "^3.0.0" }, "devDependencies": { "prettier": "^3.3.3" diff --git a/release-please-config.json b/release-please-config.json index 4e19630..4e2fa57 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -61,9 +61,7 @@ "packages": { ".": { "releaseType": "node", - "extra-files": [ - "README.md" - ] + "extra-files": ["README.md"] } } }