coder / community-templates

Unofficial templates for Coder for various platforms and cloud providers
1 stars 2 forks source link

Add `fmt` and `lint` checks #3

Open matifali opened 8 months ago

matifali commented 8 months ago

Add fmt and lint checks for terraform and markdown files

  1. 'fmt' should format and check for markdown and terraform files.
  2. lint should also check for the correct structure of 'metadata' in template README.md
matifali commented 1 month ago

We already have similar fmt and lint checks on coder/coder example templates. It should be easy to port https://github.com/coder/coder/blob/47f8f5d9631dac19890c0898ffdacf83b65974e2/examples/examples.go#L60