-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeno.json
More file actions
96 lines (96 loc) · 2.62 KB
/
deno.json
File metadata and controls
96 lines (96 loc) · 2.62 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
86
87
88
89
90
91
92
93
94
95
96
{
"type": "module",
"license": "MIT",
"exports": "./index.ts",
"compilerOptions": {
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"checkJs": false,
"exactOptionalPropertyTypes": true,
"jsx": "react",
"lib": ["deno.ns", "dom"],
"noErrorTruncation": true,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"strict": true,
"strictBindCallApply": true,
"strictFunctionTypes": true,
"strictNullChecks": true,
"strictPropertyInitialization": true,
"useUnknownInCatchVariables": true
},
"fmt": {
"bracePosition": "sameLine",
"indentWidth": 2,
"lineWidth": 100,
"proseWrap": "preserve",
"semiColons": false,
"singleBodyPosition": "nextLine",
"singleQuote": true,
"spaceAround": false,
"spaceSurroundingProperties": true,
"trailingCommas": "never",
"useBraces": "always",
"useTabs": false
},
"lint": {
"include": ["./"],
"rules": {
"tags": ["fresh", "jsr", "jsx", "react", "recommended", "workspace"],
"include": [
"ban-untagged-todo",
"camelcase",
"default-param-last",
"eqeqeq",
"explicit-function-return-type",
"explicit-module-boundary-types",
"guard-for-in",
"no-await-in-loop",
"no-boolean-literal-for-arguments",
"no-const-assign",
"no-eval",
"no-implicit-declare-namespace-export",
"no-inferrable-types",
"no-invalid-triple-slash-reference",
"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",
"no-useless-rename",
"no-top-level-await",
"single-var-declarator"
],
"exclude": [
"no-console",
"no-external-import",
"prefer-ascii",
"prefer-primordials"
]
}
},
"lock": true,
"test": {
"include": ["tests/**/*.ts"],
"exclude": ["tests/**/*.d.ts"]
},
"tasks": {
"start": "deno run --allow-all --watch ./core/index.ts",
"check": "deno fmt . && deno lint . && deno check .",
"test": "deno fmt tests/ && deno lint tests/ && deno test --no-check"
},
"imports": {
"@neabyte/deserve": "jsr:@neabyte/deserve@^0.4.1",
"@neabyte/jsonary": "jsr:@neabyte/jsonary@^1.0.1",
"@core/": "./core/"
}
}