-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeno.json
More file actions
85 lines (85 loc) · 2.16 KB
/
deno.json
File metadata and controls
85 lines (85 loc) · 2.16 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "@loat-dev/lint-plugins",
"version": "0.3.12",
"license": "./LICENSE",
"exports": {
"./colon_spacing": "./src/plugins/colon_spacing.ts",
"./imports": "./src/plugins/imports.ts",
"./arrays": "./src/plugins/arrays.ts"
},
"tasks": {
"clear-dist": "rm -r ./dist/* || exit 0",
"clear-reports": "rm -r ./reports/* || exit 0",
"install": {
"description": "Install all dependencies specified in the \"deno.lock\" file.",
"command": "deno install"
},
"cache-reload": {
"description": "Reload the dependency cache.",
"command": "deno cache --reload ."
},
"lint": {
"description": "Run linter.",
"command": "deno lint"
},
"format": {
"description": "Run formatter.",
"command": "deno lint --fix"
},
"test": {
"description": "Run unit tests. Junit reports will be saved to \"./reports/report.xml\".",
"command": "deno test -A --check --reload --doc --permit-no-files --junit-path=\"./reports/report.xml\"",
"dependencies": [ "clear-reports" ]
}
},
"test": {
"include": [
"./src/**/*.test.ts"
]
},
"lint": {
"plugins": [
"./src/plugins/colon_spacing.ts",
"./src/plugins/imports.ts",
"./src/plugins/arrays.ts"
],
"rules": {
"tags": [
"recommended"
],
"include": [
"camelcase",
"default-param-last",
"eqeqeq",
"explicit-function-return-type",
"explicit-module-boundary-types",
"guard-for-in",
"no-const-assign",
"no-eval",
"no-external-import",
"no-non-null-asserted-optional-chain",
"no-non-null-assertion",
"no-self-compare",
"no-sparse-arrays",
"no-sync-fn-in-async-fn",
"no-throw-literal",
"no-undef",
"prefer-ascii",
"single-var-declarator",
"verbatim-module-syntax"
],
"exclude": [
"no-inferrable-types"
]
}
},
"fmt": {
"trailingCommas": "never",
"singleQuote": true,
"lineWidth": 120,
"typeLiteral.separatorKind": "comma"
},
"imports": {
"@std/assert": "jsr:@std/assert@^1.0.15"
}
}