-
Notifications
You must be signed in to change notification settings - Fork 572
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Install `prettier` Ignore everything in the first step as I want to see the size of changes that are going to happen first * Configure prettier - use tabs as the whole project prefers tabs - ignore a bunch of files that shouldn't be formatted * Check & format with prettier when compiling less * Update docs to use bun Since bun handles the dependencies used for the CSS compilation this should be the preferred method from now on. * Check actual result of prettier * Use LF line endings All files where formatted in LF and since it's most common in git repos we should probably keep it this way * Limit prettier to `internal/view/` See pull request review #764 (review) * Format code with prettier
- Loading branch information
Showing
19 changed files
with
1,273 additions
and
1,113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Ignore some files we don't want to format | ||
*.html | ||
*.json | ||
*.md | ||
*.yml | ||
*.yaml | ||
|
||
# Ignore build artifacts | ||
internal/view/assets/css/ | ||
|
||
# Ignore bundled dependencies | ||
internal/view/assets/js/dayjs.min.js | ||
internal/view/assets/js/url.js | ||
internal/view/assets/js/url.min.js | ||
internal/view/assets/js/vue.js | ||
internal/view/assets/js/vue.min.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"useTabs": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.