Skip to content

Run prettier and require it#1271

Merged
lamweili merged 4 commits intolog4js-node:masterfrom
ZachHaber:prettier
Jun 22, 2022
Merged

Run prettier and require it#1271
lamweili merged 4 commits intolog4js-node:masterfrom
ZachHaber:prettier

Conversation

@ZachHaber
Copy link
Copy Markdown
Contributor

@peteriman, I ran prettier accross the entire project, and like the logfaces-http, it now is part of the pretest config.

@lamweili
Copy link
Copy Markdown
Contributor

lamweili commented Jun 20, 2022

Hmm, it broke the Windows tests?

The created test files should have been deleted on test teardown I believe.

@ZachHaber
Copy link
Copy Markdown
Contributor Author

Hmm, it broke the Windows tests?

The created test files should have been deleted on test teardown I believe.

That one particular test file has been appearing on my computer every time I ran the test. Even on the previous branch I used. I never opened the configuration-validation-test, but it started appearing one day, and then it always appeared after every time I ran the test afterwards.

@ZachHaber
Copy link
Copy Markdown
Contributor Author

It looks like the windows node 16 test should work faster after we run an npm install or update locally to let the package-lock.json file update to version 2.

@ZachHaber
Copy link
Copy Markdown
Contributor Author

@peteriman, windows tests went through this time, there were a couple files missing on the .gitattributes that caused them to download with crlf line endings instead of lf like the editorconfig/prettier wants.

@lamweili lamweili force-pushed the prettier branch 2 times, most recently from 64bad65 to 68fcec4 Compare June 22, 2022 16:56
@lamweili
Copy link
Copy Markdown
Contributor

lamweili commented Jun 22, 2022

I made some changes to the commits:

  • merged the two commits for .gitattributes together
  • added a commit (e378b59) to refactor eslint comments so prettier can fix properly
  • removed the commit that added test/tap/freeze-date-file-test to .gitignore as it is not part of prettier fixes

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.

2 participants