uselagoon / lagoon-linter

Linter for .lagoon.yml
Apache License 2.0
0 stars 2 forks source link

Catch awkward typos #16

Open seanhamlin opened 2 years ago

seanhamlin commented 2 years ago

e.g. in the route definition:

          -
            beta.example.com:
              tls-amce: 'false'
smlx commented 2 years ago

We should just check the annotations against a known list using https://github.com/agnivade/levenshtein. Would also need to check against a corpus of existing .lagoon.yml to determine how breaking such a change would be.