First article #1
							
								
								
									
										14
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,14 @@
 | 
				
			|||||||
 | 
					kind: pipeline
 | 
				
			||||||
 | 
					type: docker
 | 
				
			||||||
 | 
					name: default
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					steps:
 | 
				
			||||||
 | 
					  - name: Lint checks
 | 
				
			||||||
 | 
					    image: node:14.16-alpine
 | 
				
			||||||
 | 
					    commands:
 | 
				
			||||||
 | 
					      - npm install
 | 
				
			||||||
 | 
					      - npm run lint
 | 
				
			||||||
 | 
					  - name: Hugo build
 | 
				
			||||||
 | 
					    image: klakegg/hugo:0.82.1-ext-alpine-ci
 | 
				
			||||||
 | 
					    commands:
 | 
				
			||||||
 | 
					      - hugo
 | 
				
			||||||
							
								
								
									
										39
									
								
								.markdownlint-cli2.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								.markdownlint-cli2.yaml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,39 @@
 | 
				
			|||||||
 | 
					# Disable some built-in rules
 | 
				
			||||||
 | 
					config:
 | 
				
			||||||
 | 
					  no-inline-html: false
 | 
				
			||||||
 | 
					  MD013:
 | 
				
			||||||
 | 
					    code_block_line_length: 120
 | 
				
			||||||
 | 
					  MD024:
 | 
				
			||||||
 | 
					    allow_different_nesting: true
 | 
				
			||||||
 | 
					#  no-trailing-spaces: false
 | 
				
			||||||
 | 
					#  no-multiple-blanks: false
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Include a custom rule package
 | 
				
			||||||
 | 
					#customRules:
 | 
				
			||||||
 | 
					#  - markdownlint-rule-titlecase
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Fix any fixable errors
 | 
				
			||||||
 | 
					fix: false
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Define a custom front matter pattern
 | 
				
			||||||
 | 
					#frontMatter: "<head>[^]*<\/head>"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Define glob expressions to ignore
 | 
				
			||||||
 | 
					ignores:
 | 
				
			||||||
 | 
					  - "*.autogen.md"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Use a plugin to recognize math
 | 
				
			||||||
 | 
					#markdownItPlugins:
 | 
				
			||||||
 | 
					#  -
 | 
				
			||||||
 | 
					#    - "@iktakahiro/markdown-it-katex"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Disable inline config comments
 | 
				
			||||||
 | 
					noInlineConfig: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Disable progress on stdout
 | 
				
			||||||
 | 
					noProgress: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Use a specific formatter
 | 
				
			||||||
 | 
					outputFormatters:
 | 
				
			||||||
 | 
					  -
 | 
				
			||||||
 | 
					    - markdownlint-cli2-formatter-default
 | 
				
			||||||
							
								
								
									
										19
									
								
								package.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								package.json
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,19 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					    "name": "bitdispenser.dev",
 | 
				
			||||||
 | 
					    "version": "0.0.1",
 | 
				
			||||||
 | 
					    "description": "Personal Hugo website",
 | 
				
			||||||
 | 
					    "main": "none.js",
 | 
				
			||||||
 | 
					    "scripts": {
 | 
				
			||||||
 | 
					        "lint": "markdownlint-cli2 content/posts/"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "repository": {
 | 
				
			||||||
 | 
					        "type": "git",
 | 
				
			||||||
 | 
					        "url": "git+https://git.poldebra.me/polpetta/bitdispenser.dev.git"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "author": "Polonio Davide <davide@poldebra.me>",
 | 
				
			||||||
 | 
					    "license": "CC-BY-SA 4.0",
 | 
				
			||||||
 | 
					    "dependencies": {},
 | 
				
			||||||
 | 
					    "devDependencies": {
 | 
				
			||||||
 | 
					        "markdownlint-cli2": "0.0.10",
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user