docs-v2/.ci/vale/styles
Jason Stirnaman 624c6ad0d8
Jts contrib and linting fixes (#6494)
* feat(ci): improve linting configuration for instruction files

- Add GitHub-flavored Markdown support with remark-gfm
- Create generic Vale config (.vale-instructions.ini) for instruction files
- Use pattern-based file inclusion instead of explicit file lists
- Mount repository to /workdir in remark-lint container to preserve node_modules

Changes:
- Add remark-gfm to .ci/remark-lint/package.json
- Create .remarkrc.yaml at repository root for instruction files
- Update content/.remarkrc.yaml to include remark-gfm
- Create .vale-instructions.ini for generic writing rules
- Update compose.yaml: mount repo to /workdir (preserves /app/node_modules)
- Update lefthook.yml: use glob patterns for uppercase .md files and .github/**/*.md
- Update DOCS-CONTRIBUTING.md: remove empty CONTRIBUTING.md directory reference

Benefits:
- Automatic inclusion of new instruction files without config updates
- Pattern matching for uppercase .md files (DOCS-*.md, CLAUDE.md, etc.)
- Coverage for .github/, .claude/, api-docs/ directories
- GFM features: tables, task lists, strikethrough, autolinks, footnotes
- Separate linting rules for instruction files vs product documentation

feat(lint): separate remark-lint auto-fix for instructions vs report-only for content

- Split lint-markdown into two hooks:
  - lint-markdown-instructions: Auto-fixes README, DOCS-*.md, .github/**, .claude/**
  - lint-markdown-content: Reports issues in content/**, api-docs/** without modifying
- Changed remark-lint volume mount from read_only: true to read_only: false
- Instruction files now behave like Prettier (auto-fix + stage)
- Content files report errors and block commits until manually fixed

* chore(instructions): Add content/shared details, husky/lefthook updates
2025-10-27 20:24:25 -05:00
..
Cloud-Dedicated chore(ci): Improve Vale style linting: 2024-06-26 08:52:21 -05:00
Cloud-Serverless chore(ci): Improve Vale style linting: 2024-06-26 08:52:21 -05:00
Clustered chore(ci): Improve Vale style linting: 2024-06-26 08:52:21 -05:00
Google fix: Misc. typos and style 2024-10-16 13:20:39 -05:00
InfluxDB3-Core feat(v3): WIP: Revise API specs for Core and Enterprise 2025-02-25 17:08:05 -06:00
InfluxDBv2 fix(v2): http-write-timeout 2024-07-30 18:18:26 -05:00
InfluxDataDocs Add timezone support to v3 SQL docs (#5581) 2024-10-30 16:42:47 -06:00
config/vocabularies/InfluxDataDocs feat(influxdb3): add ODBC and Power BI documentation with product-specific examples 2025-10-06 17:43:54 -05:00
write-good chore(v3): Improve linting, test influxctl: 2024-07-03 17:09:49 -05:00