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

prettier: client #3526

Closed
wants to merge 1 commit into from
Closed

prettier: client #3526

wants to merge 1 commit into from

Conversation

wommy
Copy link
Contributor

@wommy wommy commented Oct 16, 2024

i have spent too much time undoing git blocks from autosave prettier
so i just ran prettier on the whole client

@wommy
Copy link
Contributor Author

wommy commented Oct 16, 2024

btw i think,

.prettierrc
---
{
  "semi": false,
  "singleQuote": true,
- "printWidth": 400,
+ "printWidth": 120,
  "proseWrap": "never",
- "trailingComma": "none",
+ "trailingComma": "es5",
  "overrides": [
    {
      "files": ["*.html"],
      "options": {
        "singleQuote": false,
        "wrapAttributes": false,
        "sortAttributes": false
      }
    }
  ]
}

would be nice

it sucks when youre rearrange props and the commas always jumping

also some amount of print width just helps scanning larger functions,
some of these vue.methods have like 6 destructured arguments

i also would like arrowParens: "avoid" but im not pushy 😉

@wommy wommy closed this Oct 28, 2024
@wommy wommy deleted the prettier branch October 28, 2024 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant