Add deno task lint

This commit is contained in:
Alex Gleason 2025-02-16 11:53:34 -06:00
parent 785ba1e053
commit e100f72a9b
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7
2 changed files with 2 additions and 1 deletions

View file

@ -10,7 +10,7 @@ test:
stage: test stage: test
script: script:
- deno fmt --check - deno fmt --check
- deno lint --allow-import - deno task lint
- deno task check - deno task check
- deno task test --coverage=cov_profile - deno task test --coverage=cov_profile
- deno coverage cov_profile - deno coverage cov_profile

View file

@ -19,6 +19,7 @@
"debug": "deno run -A --env-file --deny-read=.env --inspect packages/ditto/server.ts", "debug": "deno run -A --env-file --deny-read=.env --inspect packages/ditto/server.ts",
"test": "deno test -A --env-file=.env.test --deny-read=.env --junit-path=./deno-test.xml", "test": "deno test -A --env-file=.env.test --deny-read=.env --junit-path=./deno-test.xml",
"check": "deno check --allow-import .", "check": "deno check --allow-import .",
"lint": "deno lint --allow-import",
"nsec": "deno run scripts/nsec.ts", "nsec": "deno run scripts/nsec.ts",
"admin:event": "deno run -A --env-file --deny-read=.env scripts/admin-event.ts", "admin:event": "deno run -A --env-file --deny-read=.env scripts/admin-event.ts",
"admin:role": "deno run -A --env-file --deny-read=.env scripts/admin-role.ts", "admin:role": "deno run -A --env-file --deny-read=.env scripts/admin-role.ts",