Skip to content

fix(vale): propagate Google.Units=NO to product-specific Vale configs#6917

Merged
jstirnaman merged 4 commits intomasterfrom
copilot/fix-vale-linter-duration-rule
Mar 10, 2026
Merged

fix(vale): propagate Google.Units=NO to product-specific Vale configs#6917
jstirnaman merged 4 commits intomasterfrom
copilot/fix-vale-linter-duration-rule

Conversation

Copy link
Contributor

Copilot AI commented Mar 10, 2026

Product-specific .vale.ini files don't inherit from the root config — each is fully independent. PR #6798 added Google.Units = NO to the root .vale.ini and introduced InfluxDataDocs.Units (byte units only) to allow InfluxDB duration literals, but didn't propagate those disables to product configs. Running Vale with any product-specific config still flagged 7d, 24h, 30d, etc. as errors.

Changes

  • 5 product .vale.ini files (influxdb3/core, cloud-serverless, cloud-dedicated, clustered, influxdb/v2): added the same rule disables and TokenIgnores already present in the root config:

    • Google.Units = NO — stops duration literals from being flagged
    • Vale.Terms = NO — prevents URL/path false positives
    • write-good.TooWordy = NO — allows standard technical terms
    • TokenIgnores — excludes URL paths and inline code globally
  • vale-linting skill docs: added a callout warning that product configs must explicitly re-declare all disabled rules from the root config.

Before (with content/influxdb3/core/.vale.ini):

content/shared/influxdb3-cli/show/retention.md
 99:91   error  Put a nonbreaking space between the number and the unit in '7d'.   Google.Units
 99:108  error  Put a nonbreaking space between the number and the unit in '24h'.  Google.Units

After: 0 errors for duration literals across all product configs.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

…files

Duration literals like 7d, 24h, 30d were being flagged as errors when
running Vale with product-specific configs because those configs were
missing Google.Units = NO. Also adds Vale.Terms = NO,
write-good.TooWordy = NO, and TokenIgnores to match the root .vale.ini.

Co-authored-by: jstirnaman <212227+jstirnaman@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix Vale linter rule for duration values fix(vale): propagate Google.Units=NO to product-specific Vale configs Mar 10, 2026
@jstirnaman jstirnaman marked this pull request as ready for review March 10, 2026 16:56
@jstirnaman jstirnaman requested a review from a team as a code owner March 10, 2026 16:56
@jstirnaman jstirnaman requested review from jstirnaman and removed request for a team March 10, 2026 16:56
@github-actions github-actions bot added product:v2 InfluxDB v2 (Cloud TSM, OSS) product:v3-distributed InfluxDB 3 Cloud Serverless, Cloud Dedicated, Clustered product:v3-monolith InfluxDB 3 Core and Enterprise (single-node / clusterable) labels Mar 10, 2026
@jstirnaman jstirnaman merged commit 8a6143d into master Mar 10, 2026
9 checks passed
@jstirnaman jstirnaman deleted the copilot/fix-vale-linter-duration-rule branch March 10, 2026 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:v2 InfluxDB v2 (Cloud TSM, OSS) product:v3-distributed InfluxDB 3 Cloud Serverless, Cloud Dedicated, Clustered product:v3-monolith InfluxDB 3 Core and Enterprise (single-node / clusterable)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants