| 
									
										
										
										
											2025-03-01 10:20:55 +01:00
										 |  |  | import eslint from "@eslint/js"; | 
					
						
							|  |  |  | import tseslint from "typescript-eslint"; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | export default tseslint.config( | 
					
						
							|  |  |  |     eslint.configs.recommended, | 
					
						
							|  |  |  |     tseslint.configs.recommended, | 
					
						
							|  |  |  |     // consider using rules below, once we have a full TS codebase and can be more strict
 | 
					
						
							|  |  |  |     // tseslint.configs.strictTypeChecked,
 | 
					
						
							|  |  |  |     // tseslint.configs.stylisticTypeChecked,
 | 
					
						
							|  |  |  |     //tseslint.configs.recommendedTypeChecked,
 | 
					
						
							|  |  |  |     { | 
					
						
							|  |  |  |         languageOptions: { | 
					
						
							|  |  |  |             parserOptions: { | 
					
						
							|  |  |  |                 projectService: true, | 
					
						
							|  |  |  |                 tsconfigRootDir: import.meta.dirname | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |     }, | 
					
						
							|  |  |  |     { | 
					
						
							|  |  |  |         rules: { | 
					
						
							|  |  |  |             // add rule overrides here
 | 
					
						
							|  |  |  |         } | 
					
						
							| 
									
										
										
										
											2025-03-01 10:40:41 +01:00
										 |  |  |     }, | 
					
						
							|  |  |  |     { | 
					
						
							|  |  |  |         ignores: ["build/*", "dist/*", "src/public/app-dist/*"] | 
					
						
							| 
									
										
										
										
											2025-03-01 10:20:55 +01:00
										 |  |  |     } | 
					
						
							|  |  |  | ); |