mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
Add deno task lint
This commit is contained in:
parent
785ba1e053
commit
e100f72a9b
2 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue