Skip to content

fix(lefthook): Incorrect glob patterns. Add linting for influxdb3/exp… #6123

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

jstirnaman
Copy link
Contributor

…lorer

@jstirnaman jstirnaman requested a review from Copilot June 4, 2025 22:44
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates lefthook.yml to correct glob patterns for influxdb3 content, include shared markdown files in linting, and narrow test and link-checking scopes.

  • Redirects various lint hooks to content/influxdb3/* and adds shared docs
  • Updates Vale config paths for new directories
  • Changes pre-push globs for link checks and codeblock tests
Comments suppressed due to low confidence (1)

lefthook.yml:44

  • The multi-line run command is wrapped in single quotes across lines, which is invalid YAML. Use a block scalar (e.g., |) or properly close and reopen quotes.
run: '.ci/vale/vale.sh

@@ -77,7 +105,7 @@ pre-push:

e2e-links:
tags: test,links
glob: 'content/**/*.{md,html}'
glob: 'content/*.{md,html}'
Copy link
Preview

Copilot AI Jun 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changing from content/**/*.{md,html} to content/*.{md,html} prevents checking nested directories. Reintroduce **/ if you intend to include subfolders.

Suggested change
glob: 'content/*.{md,html}'
glob: 'content/**/*.{md,html}'

Copilot uses AI. Check for mistakes.

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