Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 8, 2025

Super-linter's JSON_PRETTIER check was blocking PRs due to formatting inconsistencies in 71 JSON files across release-notes/.

Changes

  • Added VALIDATE_JSON_PRETTIER: false to .github/workflows/super-linter.yml

This aligns with existing configuration (VALIDATE_MARKDOWN_PRETTIER: false) and prioritizes documentation content over formatting enforcement. JSON syntax validation remains active via VALIDATE_JSON.

Original prompt

This section details on the original issue you should resolve

<issue_title>Investigate JSONPRETTIER configuration</issue_title>
<issue_description>Users are experiencing issues with JSON_PRETTIER errors during superlinter runs. Investigate if we need to modify .github/workflows/super-linter.yml or .prettierignore` so standard PRs complete successfully.

References:

Comments on the Issue (you are @copilot in this section)


💡 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.

@jongalloway jongalloway changed the title [WIP] Investigate JSONPRETTIER configuration issues [WIP] Investigate JSON_PRETTIER configuration issues Dec 8, 2025
Users experiencing JSON_PRETTIER errors during CI runs. Similar to how
VALIDATE_MARKDOWN_PRETTIER is already disabled, this disables JSON prettier
formatting checks while keeping JSON syntax validation active.

This allows contributors to focus on documentation content rather than
strict formatting requirements. JSON syntax validation remains active to
catch actual errors.

Fixes issues seen in:
- https://github.com/dotnet/core/actions/runs/20015768377
- https://github.com/dotnet/core/actions/runs/19512527950
- https://github.com/dotnet/core/actions/runs/19270296751

Co-authored-by: jongalloway <68539+jongalloway@users.noreply.github.com>
Copilot AI changed the title [WIP] Investigate JSON_PRETTIER configuration issues Disable JSON_PRETTIER validation in super-linter Dec 8, 2025
Copilot AI requested a review from jongalloway December 8, 2025 03:59
@jongalloway jongalloway marked this pull request as ready for review December 8, 2025 04:00
@richlander richlander merged commit 252768f into main Dec 8, 2025
7 checks passed
@richlander richlander deleted the copilot/investigate-jsonprettier-config branch December 8, 2025 05:33
@richlander
Copy link
Member

Fixes #10184

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.

Investigate JSONPRETTIER configuration

3 participants