feat(yaml_lint): Added job yaml lint for checking yaml files
defaults to checking subfolder/.gitlab-ci.yml. Changes to be committed: modified: .gitlab-ci.yml new file: yaml_lint/.gitlab-ci.yml new file: yaml_lint/.yamllint.yaml new file: yaml_lint/README.md new file: yaml_lint/requirements.txt issue #1
This commit is contained in:
		
							
								
								
									
										26
									
								
								yaml_lint/.yamllint.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								yaml_lint/.yamllint.yaml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,26 @@ | ||||
| --- | ||||
| extends: default | ||||
|  | ||||
| rules: | ||||
|     braces: {max-spaces-inside: 1, level: error} | ||||
|     brackets: {max-spaces-inside: 1, level: error} | ||||
|     colons: {max-spaces-after: -1, level: error} | ||||
|     commas: {max-spaces-after: -1, level: error} | ||||
|     comments: disable | ||||
|     comments-indentation: disable | ||||
|     document-start: disable | ||||
|     empty-lines: | ||||
|         max: 2 | ||||
|         max-start: 1 | ||||
|         max-end: 1 | ||||
|         level: error | ||||
|     hyphens: {level: error} | ||||
| #    indentation: disable | ||||
|     indentation: | ||||
|         spaces: consistent | ||||
|     key-duplicates: enable | ||||
|     line-length: disable | ||||
|     new-line-at-end-of-file: disable | ||||
|     new-lines: {type: unix} | ||||
|     trailing-spaces: disable | ||||
|     truthy: disable | ||||
		Reference in New Issue
	
	Block a user