Skip to content
Source
Sign inSign up
TanStack/cli
Open History to see the last commit

tsconfig.json.ejs

30 lines919 Bytes

1{
2 <% if (addOnEnabled.eslint) { %>"include": ["**/*.ts", "**/*.tsx", "eslint.config.js", "prettier.config.js", "<%= bundler %>.config.js"],
3 <% } else { %>"include": ["**/*.ts", "**/*.tsx"],<% } %>
4 "compilerOptions": {
5 "target": "ES2022",
6 "jsx": "preserve",
7 "jsxImportSource": "solid-js",
8 "module": "ESNext",
9 "lib": ["ES2022", "DOM", "DOM.Iterable"],
10 "types": ["<%= bundler === 'vite' ? 'vite/client' : '@rsbuild/core/types' %>"],
11​
12 /* Bundler mode */
13 "moduleResolution": "bundler",
14 "allowImportingTsExtensions": true,
15 "verbatimModuleSyntax": true,
16 "noEmit": true,
17​
18 /* Linting */
19 "skipLibCheck": true,
20 "strict": true,
21 "noUnusedLocals": true,
22 "noUnusedParameters": true,
23 "noFallthroughCasesInSwitch": true,
24 "noUncheckedSideEffectImports": true<% if (addOnEnabled['solid-ui']) { %>,
25 "paths": {
26 "~/*": ["./src/*"]
27 }
28 <% } %>
29 }