Use built-in github annotation output for stylelint (#30165)
				
					
				
			This commit is contained in:
		
							
								
								
									
										21
									
								
								.github/stylelint-matcher.json
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										21
									
								
								.github/stylelint-matcher.json
									
									
									
									
										vendored
									
									
								
							@@ -1,21 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
  "problemMatcher": [
 | 
			
		||||
    {
 | 
			
		||||
      "owner": "stylelint",
 | 
			
		||||
      "pattern": [
 | 
			
		||||
        {
 | 
			
		||||
          "regexp": "^([^\\s].*)$",
 | 
			
		||||
          "file": 1
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "regexp": "^\\s+((\\d+):(\\d+))?\\s+(✖|×)\\s+(.*)\\s{2,}(.*)$",
 | 
			
		||||
          "line": 2,
 | 
			
		||||
          "column": 3,
 | 
			
		||||
          "message": 5,
 | 
			
		||||
          "code": 6,
 | 
			
		||||
          "loop": true
 | 
			
		||||
        }
 | 
			
		||||
      ]
 | 
			
		||||
    }
 | 
			
		||||
  ]
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										6
									
								
								.github/workflows/lint-css.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/lint-css.yml
									
									
									
									
										vendored
									
									
								
							@@ -38,9 +38,5 @@ jobs:
 | 
			
		||||
      - name: Set up Javascript environment
 | 
			
		||||
        uses: ./.github/actions/setup-javascript
 | 
			
		||||
 | 
			
		||||
      - uses: xt0rted/stylelint-problem-matcher@v1
 | 
			
		||||
 | 
			
		||||
      - run: echo "::add-matcher::.github/stylelint-matcher.json"
 | 
			
		||||
 | 
			
		||||
      - name: Stylelint
 | 
			
		||||
        run: yarn lint:css
 | 
			
		||||
        run: yarn lint:css -f github
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user