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

chore: frontend formatting #764

Merged
merged 9 commits into from Nov 5, 2023
Merged

Commits on Oct 17, 2023

  1. Install prettier

    Ignore everything in the first step as I want to see the size of changes
    that are going to happen first
    cbe committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    46ec50e View commit details
    Browse the repository at this point in the history
  2. Configure prettier

    - use tabs as the whole project prefers tabs
    - ignore a bunch of files that shouldn't be formatted
    cbe committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    23881d5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e2af5dc View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2023

  1. Update docs to use bun

    Since bun handles the dependencies used for the CSS compilation this
    should be the preferred method from now on.
    cbe committed Oct 22, 2023
    Configuration menu
    Copy the full SHA
    a099933 View commit details
    Browse the repository at this point in the history
  2. Check actual result of prettier

    cbe committed Oct 22, 2023
    Configuration menu
    Copy the full SHA
    f649720 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2023

  1. 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
    cbe committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    4c6eb19 View commit details
    Browse the repository at this point in the history
  2. Limit prettier to internal/view/

    See pull request review
    go-shiori#764 (review)
    cbe committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    1676e5d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    38351bc View commit details
    Browse the repository at this point in the history
  4. Format code with prettier

    cbe committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    5f1fe2b View commit details
    Browse the repository at this point in the history