Conversation
Prettier now owns line length, so drop the eslint max-len rule it conflicts with and the disable directives that went with it. Issue: CLDSRV-1002
Generated with `yarn prettier:write`, no manual edit. Issue: CLDSRV-1002
…-whole-repo' into w/9.4/improvement/CLDSRV-1002/prettier-whole-repo # Conflicts: # lib/Config.js # lib/api/apiUtils/integrity/validateChecksums.js # lib/api/apiUtils/object/createAndStoreObject.js # lib/api/apiUtils/object/getReplicationInfo.js # lib/api/apiUtils/object/objectAttributes.js # lib/api/apiUtils/object/prepareStream.js # lib/api/apiUtils/object/storeObject.js # lib/api/apiUtils/object/validateChecksumHeaders.js # lib/api/apiUtils/quotas/quotaUtils.js # lib/api/bucketPutLifecycle.js # lib/api/completeMultipartUpload.js # lib/api/initiateMultipartUpload.js # lib/api/listParts.js # lib/api/objectCopy.js # lib/api/objectDeleteTagging.js # lib/api/objectGet.js # lib/api/objectGetAttributes.js # lib/api/objectPut.js # lib/api/objectPutCopyPart.js # lib/api/objectPutLegalHold.js # lib/api/objectPutPart.js # lib/api/objectPutRetention.js # lib/api/objectPutTagging.js # lib/routes/veeam/utils.js # lib/server.js # lib/utilities/collectResponseHeaders.js # lib/utilities/reportHandler.js # lib/utilization/scuba/wrapper.js # package.json # tests/functional/aws-node-sdk/test/bucket/putBucketLifecycle.js # tests/functional/aws-node-sdk/test/bucket/putBucketReplication.js # tests/functional/aws-node-sdk/test/object/objectCopy.js # tests/functional/aws-node-sdk/test/object/objectGetAttributes.js # tests/functional/aws-node-sdk/test/object/objectHead.js # tests/functional/aws-node-sdk/test/object/putVersion.js # tests/functional/backbeat/bucketIndexing.js # tests/functional/raw-node/test/routes/routeMetadata.js # tests/functional/raw-node/test/trailingChecksums.js # tests/functional/raw-node/utils/makeRequest.js # tests/functional/utilities/reportHandler.js # tests/multipleBackend/routes/routeBackbeat.js # tests/sur/quota.js # tests/sur/routeVeeam.js # tests/unit/Config.js # tests/unit/api/apiUtils/getReplicationInfo.js # tests/unit/api/apiUtils/integrity/validateChecksums.js # tests/unit/api/apiUtils/quotas/quotaUtils.js # tests/unit/api/apiUtils/validateChecksumHeaders.js # tests/unit/api/listMultipartUploads.js # tests/unit/api/multipartUpload.js # tests/unit/api/objectCopy.js # tests/unit/api/objectCopyPart.js # tests/unit/api/objectPut.js # tests/unit/api/objectReplicationMD.js # tests/unit/auth/TrailingChecksumTransform.js # tests/unit/routes/veeam-routes.js # tests/unit/utils/mpuUtils.js # tests/unit/utils/pushReplicationMetric.js
Prettier pads markdown table cells for alignment, which pushed this table to 82 columns and tripped MD013. mdlint's config lives in the shared Guidelines package and cannot be relaxed per repo, so shorten the widest cell instead. Issue: CLDSRV-1002
…ctopus/w/9.4/improvement/CLDSRV-1002/prettier-whole-repo
…ettier-whole-repo' into w/9.5/improvement/CLDSRV-1002/prettier-whole-repo # Conflicts: # lib/api/apiUtils/object/coldStorage.js # tests/unit/api/apiUtils/coldStorage.js
websiteHead.js and websiteHeadWithACL.js assert the ETag of index.html, so reformatting these fixtures changes their MD5 and breaks the tests. Their bytes are the test data, not source to style. Issue: CLDSRV-1002
…ctopus/w/9.4/improvement/CLDSRV-1002/prettier-whole-repo
… tmp/octopus/w/9.5/improvement/CLDSRV-1002/prettier-whole-repo
There was a problem hiding this comment.
CodeQL found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
Codecov Report❌ Patch coverage is Additional details and impacted files
... and 1 file with indirect coverage changes @@ Coverage Diff @@
## development/9.5 #6299 +/- ##
===================================================
- Coverage 86.58% 86.54% -0.04%
===================================================
Files 213 213
Lines 14620 14607 -13
===================================================
- Hits 12658 12642 -16
- Misses 1962 1965 +3
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
These files do not exist on 9.3, so the cleanup that came with the prettier switch never reached them. With max-len off they are unused directives, and the strict lint step runs with --max-warnings 0. Issue: CLDSRV-1002
… tmp/octopus/w/9.5/improvement/CLDSRV-1002/prettier-whole-repo
GitHub reads .git-blame-ignore-revs automatically; locally it needs git config blame.ignoreRevsFile .git-blame-ignore-revs Issue: CLDSRV-1002
…ctopus/w/9.4/improvement/CLDSRV-1002/prettier-whole-repo
… tmp/octopus/w/9.5/improvement/CLDSRV-1002/prettier-whole-repo
This branch has not been deployed
This file contains hidden or 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
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.
This pull request has been created automatically.
It is linked to its parent pull request #6297.
Do not edit this pull request directly.
If you need to amend/cancel the changeset on branch
w/9.5/improvement/CLDSRV-1002/prettier-whole-repo, please follow thisprocedure:
git fetch git checkout w/9.5/improvement/CLDSRV-1002/prettier-whole-repo # <amend or cancel the changeset by _adding_ new commits> git push origin w/9.5/improvement/CLDSRV-1002/prettier-whole-repoPlease always comment pull request #6297 instead of this one.