mirror of
				https://github.com/actions/setup-node.git
				synced 2025-10-25 23:02:43 +08:00 
			
		
		
		
	* Fix TypeScript error line/column * Adopt official pattern from VS Code * Minor cleanup * Add tests for tsc problem matcher Co-authored-by: Lukas Spieß <lumaxis@github.com>
		
			
				
	
	
		
			19 lines
		
	
	
		
			486 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			486 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
|     "problemMatcher": [
 | |
|         {
 | |
|             "owner": "tsc",
 | |
|             "pattern": [
 | |
|                 {
 | |
|                     "regexp": "^([^\\s].*)[\\(:](\\d+)[,:](\\d+)(?:\\):\\s+|\\s+-\\s+)(error|warning|info)\\s+TS(\\d+)\\s*:\\s*(.*)$",
 | |
|                     "file": 1,
 | |
|                     "line": 2,
 | |
|                     "column": 3,
 | |
|                     "severity": 4,
 | |
|                     "code": 5,
 | |
|                     "message": 6
 | |
|                 }
 | |
|             ]
 | |
|         }
 | |
|     ]
 | |
| }
 |