mirror of
https://github.com/go-shiori/shiori.git
synced 2025-01-14 20:08:06 +08:00
7765e5bf42
* 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 https://github.com/go-shiori/shiori/pull/764#pullrequestreview-1702935417 * Format code with prettier
16 lines
328 B
Text
16 lines
328 B
Text
# 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
|