yarn format - prettier improvements & add .editorconfig (#1471)
Some dev improvements: * Add .editorconfig config file https://editorconfig.org/ * move the singleQuote spec into .editorconfig and add old .changesets/*.md to .prettierignore so that we don't incorrectly reformat new changeset files to single quote from the double quote which they can be autogenerated with in github * .gitignore Ignore emacs chaff files * Add `yarn format:head` a convenience command to run prettier against just those files in the head commit * Some mention of `yarn format` in the docs * Fix some test html closing tags; authoring mistakes, rather than deliberately malformed html — picked up by an explicit `yarn prettier --write '**/*.html'`
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -18,6 +18,9 @@ dist
|
||||
|
||||
.turbo
|
||||
|
||||
# emacs working files end in a tilde
|
||||
*~
|
||||
|
||||
# `.yarn/install-state.gz` is an optimization file that you shouldn't ever have to commit.
|
||||
# It simply stores the exact state of your project so that the next commands can boot without having to resolve your workspaces all over again.
|
||||
.yarn/install-state.gz
|
||||
Reference in New Issue
Block a user