caddy/caddyconfig/caddyfile
Matt Holt c8557dc00b
caddyfile: Introduce basic linting and fmt check (#3923)
* caddyfile: Introduce basic linting and fmt check

This will help encourage people to keep their Caddyfiles tidy.

* Remove unrelated tests

I am not sure that testing the output of warnings here is quite the
right idea; these tests are just for syntax and parsing success.
2021-01-04 11:11:36 -07:00
..
testdata caddyfile: Add args on imports (#3423) 2020-06-01 10:43:06 -06:00
adapter.go caddyfile: Introduce basic linting and fmt check (#3923) 2021-01-04 11:11:36 -07:00
dispenser_test.go caddyfile: Move NewTestDispenser into non-test file (#3439) 2020-05-26 13:45:22 -06:00
dispenser.go chore: Fix typo in dispenser.go (#3456) 2020-05-27 08:13:57 -06:00
formatter_test.go caddyfile: Fix minor bug in formatter 2020-12-16 15:22:16 -07:00
formatter.go caddyfile: Fix minor bug in formatter 2020-12-16 15:22:16 -07:00
lexer_test.go caddyfile: Export Tokenize function for lexing (#3549) 2020-07-20 13:55:51 -06:00
lexer.go caddyfile: Export Tokenize function for lexing (#3549) 2020-07-20 13:55:51 -06:00
parse_test.go caddyfile: Add support for env var defaults; add tests (#3682) 2020-11-23 12:51:35 -07:00
parse.go caddyfile: Add support for env var defaults; add tests (#3682) 2020-11-23 12:51:35 -07:00