-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lint all TS files base on our prettier for easier developer life, and added CI prettier step #1002
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
avifenesh
requested review from
barshaul,
asafpamzn,
shachlanAmazon,
shohamazon and
adanWattad
February 20, 2024 05:51
avifenesh
force-pushed
the
Linting/TS
branch
2 times, most recently
from
February 20, 2024 08:27
2e259b5
to
3a9d61b
Compare
avifenesh
changed the title
Lint all TS files base on our prettier for easier developer life
Lint all TS files base on our prettier for easier developer life, and added CI prettier step
Feb 20, 2024
Yury-Fridlyand
approved these changes
Feb 20, 2024
avifenesh
force-pushed
the
Linting/TS
branch
3 times, most recently
from
February 21, 2024 10:58
dfe2ea3
to
14a70d8
Compare
avifenesh
force-pushed
the
Linting/TS
branch
from
February 22, 2024 09:39
14a70d8
to
8d8e9e4
Compare
avifenesh
force-pushed
the
Linting/TS
branch
11 times, most recently
from
March 2, 2024 10:43
9e2878a
to
25b310b
Compare
avifenesh
force-pushed
the
Linting/TS
branch
6 times, most recently
from
March 6, 2024 14:45
a83e66f
to
1a97371
Compare
shachlanAmazon
approved these changes
Mar 6, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@barshaul, anything more which is relevant to CD?
nope |
cyip10
pushed a commit
to Bit-Quill/valkey-glide
that referenced
this pull request
Jun 24, 2024
… added CI prettier step (valkey-io#1002) * Edited all files to fit prettier standart and added prettier command to pckage.json's * Edited lint-ts to check for ts folders and to run globally * adding time to after all for avoiding failure on timeout
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As we recommend in our DEVELOPER.md for Node to use prettier, we should follow the lint of what prettier give as a default.
As Node developers, we encountered a lot the borden of fixing unwanted lints from prettier, that are actually needed lints, but are not part of the PR context, and for saving our time and nerves I created new workspace with fresh prettier and let it fix the TS files so we don't need to fight with it anymore - all what developers need to do is to use the default of prettier.
Added prettier scripts for check and format, added instructions for usage, added to the CI, and aligned all the file with the standard.
Changed npm-cd workflow to fit the changes - #1081
Changed lint-ts to instead of receptively create a task for each folder and ending running lint on the whole repo, to loop on the ts folders. end lint them specifically
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.