Skip to content

Conversation

@nbarbettini
Copy link
Contributor

@nbarbettini nbarbettini commented Dec 3, 2025

Motivation and Context

Ensures line ending consistency across platforms.

On Windows, setting git config core.autocrlf=true is a common default. This clashes with Prettier's default, which results in npm run lint:fix making many spurious edits.

How Has This Been Tested?

npm run lint:fix is now clean, as expected.

Breaking Changes

None

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

@@ -1,4 +1,5 @@
{
"endOfLine": "lf",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This should already be the default in Prettier v3, but being explicit is nice.

@nbarbettini nbarbettini marked this pull request as ready for review December 3, 2025 18:04
@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 3, 2025

Open in StackBlitz

npx https://pkg.pr.new/modelcontextprotocol/conformance/@modelcontextprotocol/conformance@74

commit: 8a6b40c

@pcarleton pcarleton merged commit 3590c17 into modelcontextprotocol:main Dec 4, 2025
4 checks passed
@nbarbettini nbarbettini deleted the nb/lf-everywhere branch December 9, 2025 14:12
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.

2 participants