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(deps): upgrade prettier from v1.x to v3+ #12290

Merged
merged 2 commits into from
Nov 30, 2023

Commits on Nov 29, 2023

  1. chore(deps): upgrade prettier from v1.x to v3+

    - and correspondingly update `eslint-config-prettier` from v3.x to v5+
    
    - reformat UI codebase according to `prettier` v3 rules
      - added two new "preferences" to dramatically shrink the diff (by an order of magnitude or two)
        - `"trailingComma": "none"` and `"arrowParens": "avoid"` preserve the existing style of the codebase
          - to be explicit, these are **not** _my_ preferences, just that which was already in the codebase
        - we may certainly want to change these later, but at this time I chose to reduce the number of changes
    
    Signed-off-by: Anton Gilgur <[email protected]>
    agilgur5 committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    d5b75c8 View commit details
    Browse the repository at this point in the history
  2. additional related manual formatting

    - alphabetize `.prettierrc`
      - only the last two preferences had to be moved
    
    - a few promise chains were reformatted to long one-liners
      - instead change these to use newer async/await syntax
    
    Signed-off-by: Anton Gilgur <[email protected]>
    agilgur5 committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    8175cb2 View commit details
    Browse the repository at this point in the history