Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(os-compatibility): normalize file paths and enforce eol consistency #35

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

muaydin
Copy link

@muaydin muaydin commented Jan 13, 2025

Problem

  • Tests were failing or behaving inconsistently on different operating systems due to improper file path normalization.
  • End-of-line (EOL) conflicts were causing unnecessary formatting diffs in collaborative workflows.

Solution

  • Updated the testFile variable in the test runner to normalize paths by replacing backslashes () with forward slashes, ensuring cross-platform compatibility.
  • Added the Prettier rule 'prettier/prettier': ['error', { endOfLine: 'auto' }] to align EOL behavior with the host environment, avoiding platform-specific conflicts.

  • Treat all work as PUBLIC. Private feature/x branches will not be squash-merged at release time.
  • Your code changes must meet the guidelines in CONTRIBUTING.md.
  • License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

@muaydin muaydin changed the title fix(OS-Compatibility): Normalize file paths and enforce EOL consistency fix(os-compatibility): normalize file paths and enforce eol consistency Jan 13, 2025
@muaydin muaydin closed this Jan 13, 2025
@muaydin muaydin reopened this Jan 13, 2025
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.

1 participant