Skip to content

Commit

Permalink
Update deno.json
Browse files Browse the repository at this point in the history
  • Loading branch information
j3lte committed Dec 6, 2023
1 parent 32eaf01 commit b2bf6ea
Showing 1 changed file with 39 additions and 45 deletions.
84 changes: 39 additions & 45 deletions deno.json
Original file line number Diff line number Diff line change
@@ -1,50 +1,44 @@
{
"tasks": {
"format": "deno fmt ./src/ ./test/",
"lint": "deno lint ./src/ ./test/",
"test": "deno test --coverage=.coverage",
"coverage": "deno coverage .coverage --lcov --exclude=/test/ --exclude=/scripts/ > ./.coverage/coverage.lcov",
"test:watch": "deno test --watch",
"clean": "rm -r ./coverage",
"localTest": "deno run --allow-read --allow-write --allow-run ./scripts/runTest.ts",
"npm": "deno run -A ./scripts/build-npm.ts"
},
"fmt": {
"options": {
"indentWidth": 2,
"lineWidth": 100,
"singleQuote": false,
"useTabs": false,
"proseWrap": "preserve"
"tasks": {
"format": "deno fmt ./src/ ./test/",
"lint": "deno lint ./src/ ./test/",
"test": "deno test --coverage=.coverage",
"coverage": "deno coverage .coverage --lcov --exclude=/test/ --exclude=/scripts/ > ./.coverage/coverage.lcov",
"test:watch": "deno test --watch",
"clean": "rm -r ./coverage",
"localTest": "deno run --allow-read --allow-write --allow-run ./scripts/runTest.ts",
"npm": "deno run -A ./scripts/build-npm.ts"
},
"files": {
"exclude": [
".coverage/",
"npm/",
".github/",
"README.md"
]
}
},
"lint": {
"rules": {
"include": [
"ban-untagged-todo",
"explicit-function-return-type"
]
"fmt": {
"options": {
"indentWidth": 2,
"lineWidth": 100,
"singleQuote": false,
"useTabs": false,
"proseWrap": "preserve"
},
"exclude": [
".coverage/",
"npm/",
".github/",
"README.md"
]
},
"files": {
"exclude": [
"npm/"
]
}
},
"test": {
"files": {
"exclude": [
"npm/",
".coverage/"
]
"lint": {
"rules": {
"include": [
"ban-untagged-todo",
"explicit-function-return-type"
]
},
"exclude": [
"npm/"
]
},
"test": {
"exclude": [
"npm/",
".coverage/"
]
}
}
}

0 comments on commit b2bf6ea

Please sign in to comment.