[ci] Add linter
This commit is contained in:
		
							parent
							
								
									04d0dadcd6
								
							
						
					
					
						commit
						4714b306d5
					
				
					 1 changed files with 14 additions and 0 deletions
				
			
		
							
								
								
									
										14
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,14 @@
 | 
				
			||||||
 | 
					---
 | 
				
			||||||
 | 
					kind: pipeline
 | 
				
			||||||
 | 
					name: lint
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					steps:
 | 
				
			||||||
 | 
					- name: yaml lint
 | 
				
			||||||
 | 
					  image: cytopia/yamllint
 | 
				
			||||||
 | 
					  commands:
 | 
				
			||||||
 | 
					  - yamllint .
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- name: markdown lint
 | 
				
			||||||
 | 
					  image: pipelinecomponents/markdownlint:latest
 | 
				
			||||||
 | 
					  commands:
 | 
				
			||||||
 | 
					  - mdl --style all --warnings .
 | 
				
			||||||
		Loading…
	
		Reference in a new issue