-
Notifications
You must be signed in to change notification settings - Fork 6
/
deno.jsonc
38 lines (38 loc) · 1.05 KB
/
deno.jsonc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"$schema": "https://deno.land/x/deno/cli/schemas/config-file.v1.json",
"fmt": {
"files": {
"include": ["src", "docs", "README.md"],
"exclude": ["src/tests/fixtures"]
},
"options": {
"semiColons": true,
"indentWidth": 2,
"lineWidth": 80,
"proseWrap": "always",
"singleQuote": false,
"useTabs": false
}
},
"lint": {
"files": {
"include": ["src"],
"exclude": ["src/tests/fixtures"]
},
"rules": {
// [TODO]: Remove exclusion after we remove Deno.run
"exclude": ["no-deprecated-deno-api"]
}
},
"lock": false,
"tasks": {
"test": "deno fmt --check && deno lint && deno test --allow-read",
"generate-lcov": "rm -rf .coverage && deno test --reporter=dot --allow-read --coverage=.coverage && deno coverage --exclude=fixtures --exclude=test --lcov --output=lcov.info .coverage",
"test:coverage": "deno task generate-lcov && deno coverage --exclude=fixtures --exclude=test .coverage"
},
"test": {
"files": {
"include": ["src"]
}
}
}