Skip to content

Add formatting and linting - #20

Open
kate-atherton wants to merge 3 commits into
masterfrom
add-formatting-and-linting
Open

kate-atherton wants to merge 3 commits into
masterfrom
add-formatting-and-linting

Conversation

@kate-atherton

Copy link
Copy Markdown
Collaborator
  • Installs eslint, prettier and husky
  • Adds format and lint scripts
  • Applies new formatting and linting fixes
  • Adds pre-commit and pre-push hooks to ensure code quality

@jakec-github jakec-github left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice stuff. One comment to address

Comment thread .prettierrc
@@ -0,0 +1,4 @@
{
"singleQuote": true,
"trailingComma": "none"

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would prefer trailingComma was set to "always" or equivalent. It better matches the existing code and works well with auto-formatting tools

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