Repository navigation
Expand file tree
/
Copy pathtsconfig.json
More file actions
81 lines (81 loc) · 2.76 KB
/
Copy pathtsconfig.json
File metadata and controls
81 lines (81 loc) · 2.76 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
{
"compilerOptions": {
// general options:
"allowJs": true,
"checkJs": true,
"maxNodeModuleJsDepth": 0,
"noEmit": true,
"target": "esnext",
"module": "nodenext",
"moduleResolution": "nodenext",
"types": ["@rspack/core/module", "@wdio/globals/types", "mocha"],
// fix for badly-formed types in dependencies:
"skipLibCheck": true,
// alias for imports:
"paths": {
"@*": ["./types/*.js"]
},
// rules:
"strict": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"plugins": [
{
"name": "@jackolope/ts-lit-plugin",
"strict": true,
"rules": {
"no-missing-import": "error",
"no-unknown-tag-name": "error",
"no-incompatible-type-binding": "off",
"no-complex-attribute-binding": "off",
"no-unknown-attribute": "error"
},
"customHtmlData": {
"version": 1.1,
"tags": [
{
"name": "dialog",
"attributes": [
{
"name": "closedby",
"description": "Controls which user actions can light-dismiss the dialog (any, closerequest, or none). [MDN reference](https://developer.mozilla.org/docs/Web/HTML/Reference/Elements/dialog#closedby)"
}
]
},
{
"name": "link",
"attributes": [
{
"name": "fetchpriority",
"description": "Hints the relative priority for fetching the linked resource (high, low, or auto). [MDN reference](https://developer.mozilla.org/docs/Web/HTML/Reference/Elements/link#fetchpriority)"
}
]
}
],
"globalAttributes": [
{
"name": "aria-description",
"description": "Defines a string value that describes or annotates the current element. [MDN reference](https://developer.mozilla.org/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-description)"
},
{
"name": "vocab",
"description": "RDFa: default vocabulary IRI used to expand property and typeof values."
},
{
"name": "typeof",
"description": "RDFa: declares the RDF type(s) of the subject described by the current element."
},
{
"name": "property",
"description": "RDFa: declares a property relationship between the subject and its value."
}
]
}
}
]
},
"exclude": ["node_modules", "coverage", "dist", "out", "legacy", "vendor"]
}