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

feat(twig): support storybook twig extension in linting (#613) #77

Closed
wants to merge 1 commit into from

Conversation

mrdavidburns
Copy link
Member

The automatic twig linting throws a fatal error when the Storybook module is present, as the static tests don't bootstrap Drupal to discover twig extensions. Since bootstrapping Drupal is expensive, instead check and load the twig extension manually.

Re https://github.com/Lullabot/appstate-drupal/pull/33#issuecomment-2231807673

The automatic twig linting throws a fatal error when the Storybook module is
present, as the static tests don't bootstrap Drupal to discover twig
extensions. Since bootstrapping Drupal is expensive, instead check and load the
twig extension manually.

Re https://github.com/Lullabot/appstate-drupal/pull/33#issuecomment-2231807673

Co-authored-by: Sally Young <[email protected]>
Co-authored-by: Andrew Berry <[email protected]>
Copy link

Please submit your pull request against the upstream Drainpipe repository at https://github.com/Lullabot/drainpipe/pulls. Note that the drainpipe-dev code is contained inside the root /drainpipe-dev directory.

@github-actions github-actions bot closed this Jul 29, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Jul 29, 2024
@mrdavidburns mrdavidburns deleted the v3.8.2 branch July 29, 2024 14:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant