forked from MapComplete/MapComplete
		
	Add wrong default import from json files to code quality checks, fix those imports
This commit is contained in:
		
							parent
							
								
									71c815d37d
								
							
						
					
					
						commit
						ce44f34bf3
					
				
					 42 changed files with 167 additions and 148 deletions
				
			
		|  | @ -31,7 +31,7 @@ export class Denomination { | |||
| 
 | ||||
|         this.alternativeDenominations = json.alternativeDenomination?.map((v) => v.trim()) ?? [] | ||||
| 
 | ||||
|         if (json["default"] !== undefined) { | ||||
|         if (json["default" /* @code-quality: ignore*/] !== undefined) { | ||||
|             throw `${context} uses the old 'default'-key. Use "useIfNoUnitGiven" or "useAsDefaultInput" instead` | ||||
|         } | ||||
|         this.useIfNoUnitGiven = json.useIfNoUnitGiven | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue