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
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .browserslistrc
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
chrome 38-79
# WAM uses WebKit on webOS 1 and 2
chrome 38 # webOS 3.x
chrome 53 # webOS 4.x
chrome 68 # webOS 5
chrome 79 # webOS 6
chrome 87 # webOS 7 (22)
chrome 94 # webOS 8 (23)
chrome 108 # webOS 9 (24)
1 change: 0 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
indent_style = space
indent_size = 2
Expand Down
23 changes: 23 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
* text=auto

*.css text
*.html text
*.js text
*.json text
*.md text
*.mjs text
*.svg text
*.yml text

.browserslistrc text
.editorconfig text
.eslintignore text
.gitattributes text
.gitignore text
.prettierignore text
LICENSE text

*.sh text eol=lf

*.jpg binary
*.png binary
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
*.ipk
node_modules
dist
/node_modules/
/dist/
.DS_Store
/.vscode/
1 change: 1 addition & 0 deletions .husky/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pre-commit text eol=lf
Empty file modified assets/icon.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/largeIcon.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
"launch": "ares-launch youtube.leanback.v4",
"manifest": "node tools/gen-manifest.js youtube.leanback.v4.manifest.json",
"version": "node tools/sync-version.js && git add assets/appinfo.json",
"prepare": "husky install"
"prepare": "husky install",
"lint": "eslint src",
"prettier-check": "prettier --check ."
},
"repository": "github:webosbrew/youtube-webos",
"license": "GPL-3.0-only",
Expand Down
2 changes: 1 addition & 1 deletion src/.eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
*-polyfill.*
*-polyfill.*
Empty file modified src/index.html
100755 → 100644
Empty file.
Loading