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

Normalize line endings to LF (plus a few other tooling things) #133

Merged
merged 5 commits into from
Mar 25, 2024

Conversation

throwaway96
Copy link
Member

@throwaway96 throwaway96 commented Mar 24, 2024

This should behave like autocrlf, except for the .husky/pre-commit shell script, which is forced to use LF line endings. (This will also apply to any future shell scripts with a .sh extension.)

Otherwise, this PR doesn't force text files in the working tree to use LF, although I'd like to hear opinions on whether or not that would be desirable. Even on Windows, most editors can handle LF these days.

Bonus changes: ignore the .vscode directory, add lint/prettier-check scripts to package.json, and fix file modes.

@throwaway96 throwaway96 changed the title Normalize line endings to LF Normalize line endings to LF (plus a few other tooling things) Mar 24, 2024
@throwaway96 throwaway96 force-pushed the eol-normalize-20240324 branch 3 times, most recently from 95c6cb1 to 5ae5b57 Compare March 25, 2024 04:29
@throwaway96 throwaway96 added this to the v0.3.3 milestone Mar 25, 2024
Add .gitattributes files to ensure git knows which files are text.

Ensure that shell scripts (including .husky/pre-commit) use LF.
Ignore .vscode directory and make some other entries more specific.
Remove execute permission from several data files.
Specify the Chromium version used for WAM on each webOS major version.
@throwaway96 throwaway96 merged commit 9ac14a7 into webosbrew:main Mar 25, 2024
1 check passed
throwaway96 added a commit to throwaway96/youtube-webos that referenced this pull request Mar 27, 2024
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