Skip to content

test: run tests before committing, in addition to pretty-quick#64

Merged
wagoid merged 1 commit intowagoid:masterfrom
jdbruijn:test/commit
Dec 3, 2020
Merged

test: run tests before committing, in addition to pretty-quick#64
wagoid merged 1 commit intowagoid:masterfrom
jdbruijn:test/commit

Conversation

@jdbruijn
Copy link
Copy Markdown
Collaborator

pretty-quick is not needed any more as lint-staged can run prettier with just the staged files, thus getting the same behaviour.

Closes #60.

Copy link
Copy Markdown
Owner

@wagoid wagoid left a comment

Choose a reason for hiding this comment

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

Thanks for the update! You now have conflicts on package.json, could you fix them?

@@ -0,0 +1,4 @@
module.exports = {
'*.{ts,tsx,vue,css,less,scss,html,htm,md,markdown}': 'prettier --write',
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.

The project doesn't have Typescript files, are they included here to be future proof?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Yes, these are the supported formats of Prettier so I just included all of them. It doesn't matter if some formats are not, yet, used in this repo.

`pretty-quick` is not needed any more as lint-staged can run prettier with just the staged files,
thus getting the same behaviour.

Closes #60.
@jdbruijn
Copy link
Copy Markdown
Collaborator Author

jdbruijn commented Dec 3, 2020

@wagoid Conflicts are resolved now.

@wagoid wagoid merged commit 9de2430 into wagoid:master Dec 3, 2020
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.

Check commit messages before committing

2 participants