mirror of
				https://github.com/lutinglt/gitea-github-theme.git
				synced 2025-10-26 13:00:31 +00:00 
			
		
		
		
	重构基本框架
This commit is contained in:
		
							
								
								
									
										38
									
								
								tsconfig.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								tsconfig.json
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,38 @@ | ||||
| { | ||||
|   "compilerOptions": { | ||||
|     "plugins": [ | ||||
|       { | ||||
|         "name": "typescript-plugin-css-modules" | ||||
|       } | ||||
|     ], | ||||
|     "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo", | ||||
|     "useDefineForClassFields": true, | ||||
|     "target": "ES2022", | ||||
|     "lib": ["ES2023"], | ||||
|     "module": "ESNext", | ||||
|     "skipLibCheck": true, | ||||
|  | ||||
|     /* Bundler mode */ | ||||
|     "moduleResolution": "bundler", | ||||
|     "allowImportingTsExtensions": true, | ||||
|     "verbatimModuleSyntax": true, | ||||
|     "moduleDetection": "force", | ||||
|     "noEmit": true, | ||||
|     "jsx": "react-jsx", | ||||
|  | ||||
|     /* Linting */ | ||||
|     "strict": true, | ||||
|     "noUnusedLocals": true, | ||||
|     "noUnusedParameters": true, | ||||
|     "erasableSyntaxOnly": true, | ||||
|     "noFallthroughCasesInSwitch": true, | ||||
|     "noUncheckedSideEffectImports": true, | ||||
|     "baseUrl": ".", | ||||
|     "paths": { | ||||
|       "src/*": ["src/*"], | ||||
|       "styles/*": ["styles/*"], | ||||
|       "themes/*": ["themes/*", "themes/*.css"] | ||||
|     } | ||||
|   }, | ||||
|   "include": ["src", "styles", "themes", "vite.config.ts"] | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 lutinglt
					lutinglt