molefrog / wouter

🥢 A minimalist-friendly ~2.1KB routing for React and Preact
https://npm.im/wouter
The Unlicense
6.41k stars 146 forks source link

Create .gitattributes #453

Closed JonahPlusPlus closed 1 month ago

JonahPlusPlus commented 1 month ago

Adds a .gitattributes file to fix issues with line endings.

On Windows, many developers enable core.autocrlf, which converts line endings to CRLF. Prettier converts line endings to LF by default, so this shows up as empty changes. By specifying a .gitattributes file, autocrlf can be disabled per repository.

Fixes #451

stackblitz[bot] commented 1 month ago

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (e106a9d) to head (f4be076).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## v3 #453 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 1 1 Lines 1 1 ========================================= Hits 1 1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.