Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

strict macro linting #336

Merged
merged 2 commits into from
Jul 17, 2024
Merged

strict macro linting #336

merged 2 commits into from
Jul 17, 2024

Conversation

ysugimoto
Copy link
Owner

Related to https://www.fastly.com/documentation/guides/vcl/using/#custom-vcl , we need more strict linting for Fastly boilerplate macro.

The macro format must be:

#FASTLY RECV
  1. Comment sign must be a single #
  2. FASTLY string must be uppercase without leading whitespace
  3. Scope name is case-insensitive
  4. Additional comment can be accepted

@ysugimoto ysugimoto changed the title string macro linting strict macro linting Jul 17, 2024
@ysugimoto ysugimoto merged commit fe75489 into main Jul 17, 2024
3 checks passed
@ysugimoto ysugimoto deleted the fix/strict-fastly-macro-linting branch July 17, 2024 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant