ci: add lint task

This commit is contained in:
Julien Oculi 2024-06-04 15:04:16 +02:00
parent 2fc4880c3e
commit c4ac606b17

View file

@ -2,6 +2,7 @@
"tasks": { "tasks": {
"serve": "deno run --allow-net=\"https://git.cohabit.fr,localhost:$PORT,127.0.0.1:$PORT,0.0.0.0:$PORT\" --allow-env=PORT,COHABIT_GIT_URL,PORTFOLIO_BASE_URL ./server.ts", "serve": "deno run --allow-net=\"https://git.cohabit.fr,localhost:$PORT,127.0.0.1:$PORT,0.0.0.0:$PORT\" --allow-env=PORT,COHABIT_GIT_URL,PORTFOLIO_BASE_URL ./server.ts",
"test": "deno test --ignore=server.ts --allow-env=PORT,COHABIT_GIT_URL,PORTFOLIO_BASE_URL --doc", "test": "deno test --ignore=server.ts --allow-env=PORT,COHABIT_GIT_URL,PORTFOLIO_BASE_URL --doc",
"lint": "deno lint --ignore=docs",
"doc": "deno doc --html --name='Portfolio Sever' ./src/*.ts" "doc": "deno doc --html --name='Portfolio Sever' ./src/*.ts"
}, },
"fmt": { "fmt": {