Skip to content

Conversation

samouri
Copy link
Member

@samouri samouri commented Jun 15, 2021

summary

  • Commit e1077b2 deletes config/.prettierrc, tools/linter/.prettierrc, and tools/linter/config/.prettierrc. It adds a root-level config, and also removes the printWidth option. I personally prefer root-level because then prettier can find it without a --config flag, as well as VSCode.
  • Commit fce9291 then runs prettier over the whole src and tools dirs.

@samouri samouri force-pushed the consolidate-prettier branch from 759eb2d to fce9291 Compare June 15, 2021 21:09
@samouri samouri marked this pull request as ready for review June 15, 2021 21:42
@samouri samouri self-assigned this Jun 15, 2021
@kristoferbaxter
Copy link
Contributor

No solid thoughts on consolidating the prettier configurations, but can we keep the line length the same as it was?

@samouri samouri force-pushed the consolidate-prettier branch from 3cd6d7f to d24c490 Compare June 16, 2021 16:11
@samouri
Copy link
Member Author

samouri commented Jun 16, 2021

I personally care much more about consolidating the files and moving to toplevel to let my IDE pick it up and less so about the specific prettier options.

Therefore I've elected to pick a configuration that has the fewest changes (same line length, bracket spacing, etc.).


If anyone has specific ideas of what formatting they prefer, feel free to open a followup PR.

@samouri samouri requested a review from kristoferbaxter June 16, 2021 16:25
@kristoferbaxter kristoferbaxter merged commit af09257 into main Jun 16, 2021
@kristoferbaxter kristoferbaxter deleted the consolidate-prettier branch June 16, 2021 16:44
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.

3 participants