We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 853315b commit dc1d52fCopy full SHA for dc1d52f
2 files changed
.github/workflows/tests.yaml
@@ -16,7 +16,7 @@ jobs:
16
run: bun install
17
18
- name: Linting
19
- run: bun run format
+ run: bun run lint
20
21
- name: Run tests
22
run: bun run test
package.json
@@ -31,8 +31,8 @@
31
"build:browser": "bun build ./src/csp-generator.browser.ts --outdir ./dist --target browser --minify --outfile csp-generator.browser.js --format esm",
32
"prepublishOnly": "bun run build",
33
"test": "bun test",
34
- "lint": "prettier --write src/. test/.",
35
- "format": "bun run prettier --write src/. test/."
+ "lint": "npx prettier --check **/*.ts",
+ "format": "prettier --write **/*.ts"
36
},
37
"author": "Rolando Santamaria Maso <kyberneees@gmail.com>",
38
"keywords": [
0 commit comments