Skip to content

Commit dc1d52f

Browse files
committed
fix: correct linting command in GitHub Actions workflow and package.json
1 parent 853315b commit dc1d52f

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
run: bun install
1717

1818
- name: Linting
19-
run: bun run format
19+
run: bun run lint
2020

2121
- name: Run tests
2222
run: bun run test

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
"build:browser": "bun build ./src/csp-generator.browser.ts --outdir ./dist --target browser --minify --outfile csp-generator.browser.js --format esm",
3232
"prepublishOnly": "bun run build",
3333
"test": "bun test",
34-
"lint": "prettier --write src/. test/.",
35-
"format": "bun run prettier --write src/. test/."
34+
"lint": "npx prettier --check **/*.ts",
35+
"format": "prettier --write **/*.ts"
3636
},
3737
"author": "Rolando Santamaria Maso <kyberneees@gmail.com>",
3838
"keywords": [

0 commit comments

Comments
 (0)