add a bot for eslint on github
This commit is contained in:
		
							parent
							
								
									6ca7ca4e7e
								
							
						
					
					
						commit
						8e440f7dff
					
				
					 1 changed files with 12 additions and 0 deletions
				
			
		
							
								
								
									
										12
									
								
								.github/workflows/reviewdog.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								.github/workflows/reviewdog.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,12 @@ | ||||||
|  | name: reviewdog | ||||||
|  | on: [pull_request] | ||||||
|  | jobs: | ||||||
|  |   eslint: | ||||||
|  |     name: runner / eslint | ||||||
|  |     runs-on: ubuntu-latest | ||||||
|  |     steps: | ||||||
|  |       - uses: actions/checkout@v2 | ||||||
|  |       - uses: reviewdog/action-eslint@v1 | ||||||
|  |         with: | ||||||
|  |           reporter: github-pr-review # Change reporter. | ||||||
|  |           eslint_flags: 'src/' | ||||||
		Loading…
	
		Reference in a new issue