feat: add go-task, set up prettier, format yaml (#50)

This commit is contained in:
ᗪєνιη ᗷυнʟ authored and GitHub committed 2021-08-03 09:13:56 -04:00
1 parent 99370f6d8d
commit 525be88214
53 files changed
+386 -251

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
---
version: "3"
tasks:
all:
- task: markdown
- task: yaml
- task: format
markdown:
desc: Lint Markdown
cmds:
- markdownlint -c '.github/lint/.markdownlint.yaml' *.md **/*.md
ignore_errors: true
yaml:
desc: Lint YAML
cmds:
- yamllint -c '.github/lint/.yamllint.yaml' .
ignore_errors: true
format:
desc: Lint general formatting
cmds:
- prettier --ignore-path '.github/lint/.prettierignore' --config '.github/lint/.prettierrc.yaml' --check .
ignore_errors: true