You've already forked immich
							
							
				mirror of
				https://github.com/immich-app/immich.git
				synced 2025-10-31 00:18:28 +02:00 
			
		
		
		
	chore(mobile): Removes analysis options for openapi directory (#7309)
* Removes analysis options for openapi directory * Updates the generate open api script to remove the analysis_options.yaml file from the mobile/openapi directory
This commit is contained in:
		| @@ -34,7 +34,6 @@ linter: | ||||
| analyzer: | ||||
|   exclude: | ||||
|     - openapi/** | ||||
|     - openapi/test/** | ||||
|     - lib/generated_plugin_registrant.dart | ||||
|  | ||||
| plugins: | ||||
|   | ||||
| @@ -14,6 +14,9 @@ function dart { | ||||
|   # Post generate patches | ||||
|   patch --no-backup-if-mismatch -u ../mobile/openapi/lib/api_client.dart <./patch/api_client.dart.patch | ||||
|   patch --no-backup-if-mismatch -u ../mobile/openapi/lib/api.dart <./patch/api.dart.patch | ||||
|   # Don't include analysis_options.yaml for the generated openapi files | ||||
|   # so that language servers can properly exclude the mobile/openapi directory | ||||
|   rm ../mobile/openapi/analysis_options.yaml | ||||
| } | ||||
|  | ||||
| function typescript { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user