Skip to content

chore: enforce LF line endings via .gitattributes and Prettier config#204

Merged
mattpodwysocki merged 24 commits into
mainfrom
fix/normalize-line-endings
Jun 10, 2026
Merged

chore: enforce LF line endings via .gitattributes and Prettier config#204
mattpodwysocki merged 24 commits into
mainfrom
fix/normalize-line-endings

Conversation

@mattpodwysocki

Copy link
Copy Markdown
Contributor

Summary

  • Adds .gitattributes with * text=auto eol=lf so git normalizes line endings to LF on checkout for all contributors
  • Adds "endOfLine": "lf" to the Prettier config in package.json so npm run lint/npm run format enforces LF explicitly
  • Both settings are consistent with the existing .editorconfig which already specifies end_of_line = lf

This fixes the Windows-only npm run lint failure caused by CRLF line endings (noted in PR #202), where Prettier would fail on files checked out with Windows-style line endings.

Test plan

  • npm test passes (727 tests)
  • npm run format reports all files unchanged (existing files already have LF on macOS/Linux)
  • .editorconfig, .gitattributes, and Prettier config all consistently specify LF

🤖 Generated with Claude Code

mattpodwysocki and others added 22 commits January 12, 2026 16:18
Implements MCP server icons at the correct architectural level (server
initialization) instead of at the tool level. Adds both light and dark
theme variants of the Mapbox logo using base64-encoded SVG data URIs.

- Add mapbox-logo-black.svg for light theme backgrounds
- Add mapbox-logo-white.svg for dark theme backgrounds
- Update server initialization to include icons array with theme property
- Use 800x180 SVG logos embedded as base64 data URIs

This replaces the previous incorrect approach of adding icons to
individual tools, which was not aligned with the MCP specification.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Updates the MCP SDK from 1.25.1 to 1.25.2 and recreates the output
validation patch for the new version. The patch continues to convert
strict output schema validation errors to warnings, allowing tools
to gracefully handle schema mismatches.

Changes:
- Update @modelcontextprotocol/sdk from ^1.25.1 to ^1.25.2
- Recreate SDK patch for version 1.25.2
- Remove obsolete 1.25.1 patch file
- All 397 tests pass with new SDK version

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds `.gitattributes` with `* text=auto eol=lf` and `"endOfLine": "lf"`
to the Prettier config so Windows contributors no longer hit CRLF/Prettier
failures when running `npm run lint`. Consistent with the existing
`.editorconfig` which already specifies `end_of_line = lf`.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@mattpodwysocki mattpodwysocki requested a review from a team as a code owner June 8, 2026 17:55
mattpodwysocki and others added 2 commits June 10, 2026 13:18
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@mattpodwysocki mattpodwysocki merged commit 30216f4 into main Jun 10, 2026
5 checks passed
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