forked from pwa-builder/PWABuilder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.base.json
95 lines (95 loc) · 2.85 KB
/
tsconfig.base.json
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
{
"compilerOptions": {
"target": "es2017",
"module": "es2020",
"moduleResolution": "node",
"lib": ["esnext.array", "esnext", "es2017", "dom"],
"forceConsistentCasingInFileNames": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,
"noImplicitAny": true,
"noImplicitThis": true,
"noUncheckedIndexedAccess": true,
"strict": true,
"strictPropertyInitialization": true,
"strictFunctionTypes": true,
"strictNullChecks": true,
"allowUnusedLabels": false,
"preserveWatchOutput": true,
"outDir": "./dist/",
"declaration": true,
"declarationMap": true,
"sourceMap": true,
// Only necessary because @types/uglify-js can't find types for source-map
"skipLibCheck": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
"plugins": [
{
"name": "ts-lit-plugin",
"rules": {
"no-complex-attribute-binding": "error",
"no-expressionless-property-binding": "error",
"no-incompatible-property-type": "error",
"no-incompatible-type-binding": "error",
"no-invalid-attribute-name": "error",
"no-invalid-boolean-binding": "error",
"no-invalid-css": "off",
"no-invalid-directive-binding": "error",
"no-invalid-tag-name": "error",
"no-missing-import": "off",
"no-noncallable-event-binding": "error",
"no-nullable-attribute-binding": "off",
"no-unclosed-tag": "error",
"no-unknown-attribute": "off",
"no-unknown-event": "off",
"no-unknown-property": "off",
"no-unknown-property-converter": "error",
"no-unknown-slot": "off",
"no-unknown-tag-name": "error"
},
"globalTags": [
"ion-icon",
"fast-accordion",
"fast-accordion-item",
"fast-anchor",
"fast-badge",
"fast-breadcrumb",
"fast-breadcrumb-item",
"fast-button",
"fast-card",
"fast-checkbox",
"fast-data-grid",
"fast-dialog",
"fast-divider",
"fast-flipper",
"fast-listbox",
"fast-option",
"fast-menu",
"fast-menu-item",
"fast-number-field",
"fast-progress",
"fast-progress-ring",
"fast-radio",
"fast-radio-group",
"fast-select",
"fast-skeleton",
"fast-slider",
"fast-slider-label",
"fast-switch",
"fast-tabs",
"fast-tab",
"fast-text-area",
"fast-text-field",
"fast-tooltip",
"fast-tree-view",
"fast-tree-item"
]
}
]
},
"exclude": ["node_modules", "**/*.spec.ts"]
}