Skip to content
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

fix(lint): Upgrade ESLint #704

Merged
merged 16 commits into from
Aug 6, 2024
Merged

fix(lint): Upgrade ESLint #704

merged 16 commits into from
Aug 6, 2024

Conversation

asharonbaltazar
Copy link
Collaborator

@asharonbaltazar asharonbaltazar commented Aug 5, 2024

Purpose

Upgrading to ESLint v9 broke our linting command since it no longer recognized the old config file.

Linked Issues to Close

https://qmacbis.atlassian.net/browse/OY2-29548

Approach

  • follow the upgrade guide. Thankfully, our ESLint setup isn't so complicated. Adjust a few rules that I think improve our codebase's health
  • move ESLint to the project root so it can target the lib and bin/cli as well
  • address easy fixes such as unused variables/imports as well as tested functionality

Copy link
Contributor

github-actions bot commented Aug 5, 2024

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 53.46% 4208 / 7870
🔵 Statements 53.35% 4438 / 8318
🔵 Functions 47.69% 1004 / 2105
🔵 Branches 26.77% 793 / 2962
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
lib/lambda/checkConsumerLag.test.ts 100% 50% 100% 100%
lib/lambda/createTriggers.test.ts 96.42% 100% 88.88% 96% 10-12
lib/lambda/deleteTriggers.test.ts 96.15% 100% 87.5% 95.83% 10-12
lib/lambda/getAttachmentUrl.test.ts 98.27% 100% 94.11% 98.07% 14-16
lib/lambda/getCpocs.test.ts 100% 100% 100% 100%
lib/lambda/getPackageActions.test.ts 100% 100% 100% 100%
lib/lambda/getSubTypes.test.ts 100% 100% 100% 100%
lib/lambda/getTypes.test.ts 100% 100% 100% 100%
lib/lambda/getUploadUrl.test.ts 100% 100% 100% 100%
lib/lambda/getUploadUrl.ts 100% 100% 100% 100%
lib/lambda/mapRole.test.ts 100% 100% 100% 100%
lib/lambda/postAuth.ts 0% 0% 0% 0% 11, 13-99, 14, 17-19, 18, 20-22, 21, 24, 26-31, 27, 29-30, 33-34, 36-97, 37, 39, 41-96, 42-58, 54-57, 59-75, 64-74, 66-73, 68-72, 69-71, 70, 77-93, 95, 98, 102-191, 104-108, 111-113, 112, 115-117, 120-122, 121, 124-126, 129-133, 136-158, 137-139, 138, 140-157, 142-150, 153-156, 161-183, 162-164, 163, 165-182, 167-175, 178-181, 186-188, 190
lib/lambda/processEmails.ts 0% 0% 0% 0% 5-6, 9-22, 14-22, 25-34, 26-33, 36-99, 40, 42-44, 43, 46, 48-86, 50-84, 51-59, 61-62, 64, 66-70, 72-81, 83, 88-94, 89-93, 90, 92, 96-97
lib/lambda/runReindex.test.ts 97.22% 100% 90.9% 96.87% 13-15
lib/lambda/search.test.ts 100% 100% 100% 100%
lib/lambda/sinkMain.ts 0% 0% 0% 0% 14-17, 16, 18, 20-44, 21-43, 23-39, 24-38, 27-28, 30-31, 33-34, 36-37, 41-42, 46-89, 47-87, 49-86, 51, 54-57, 55-56, 60-72, 66-71, 73-79, 78, 81-85, 88, 91-259, 92-257, 94-256, 96, 99-102, 100-101, 103, 105-123, 107-121, 108-111, 111-119, 113-118, 120, 122, 126-249, 127-235, 128-234, 131-133, 136-138, 140, 142-144, 146-148, 150-152, 154-156, 158-165, 160-164, 167, 169-176, 172-175, 179-193, 183, 185-192, 195-198, 202-231, 206-230, 217-219, 221-228, 223-226, 229, 232, 236-238, 237, 239-246, 240-245, 247-248, 251-255, 258, 261-300, 265-298, 267-297, 270-272, 271, 275-276, 279, 279, 281-289, 283-288, 290, 292-296, 299
lib/lambda/sinkSubtypes.ts 0% 0% 0% 0% 11-14, 13, 15, 17-36, 18, 20-35, 21-31, 22-30, 25-26, 28-29, 33-34, 38-70, 42-68, 44-67, 46-50, 49, 51-59, 53-58, 60, 62-66, 69
lib/lambda/sinkTypes.ts 0% 0% 0% 0% 11-14, 13, 15, 17-36, 18, 20-35, 21-31, 22-30, 25-26, 28-29, 33-34, 38-67, 39-65, 41-64, 43-47, 46, 48-56, 50-55, 57, 59-63, 66
lib/lambda/package-actions/withdraw-package/withdraw-package.test.ts 92.3% 50% 100% 92.3% 20
lib/lambda/package-actions/withdraw-package/withdraw-package.ts 100% 100% 100% 100%
lib/libs/opensearch-lib.ts 0% 0% 0% 0% 13-16, 22-24, 27, 30-32, 36, 38, 42, 42, 55-58, 56-57, 60, 62-72, 64-71, 65, 67-70, 78-113, 79-100, 82-84, 83, 86-97, 87-97, 92-96, 99, 102-112, 103-108, 110-111, 116, 120-132, 122, 124-131, 128, 130, 141-178, 142-174, 176-177, 186-195, 188-192, 194, 203-209, 205-206, 208, 214-223, 216-217, 217, 219, 221-222, 231-244, 233-238, 240, 242-243, 248-254, 249-253, 250, 252, 255-257, 256, 256, 258-263, 259-262, 260-261, 264
lib/libs/sink-lib.ts 0% 0% 0% 0% 2, 7, 10-15, 10, 18-25, 27-52, 36-51, 54-83, 56-63, 57-62, 58-59, 61, 66-79, 67-78, 68-77, 69, 71-76, 72-76, 75, 81-82, 90-97, 91, 93-96
lib/libs/topics-lib.ts 0% 0% 0% 0% 14-15, 17-22, 24-102, 25, 28-31, 30, 33, 36-40, 43-47, 46, 52-59, 56-58, 62-65, 62-65, 68-71, 68-71, 75-80, 82-91, 94, 97-99, 98, 101, 104, 109-115, 110-114, 111-113, 117, 119-127, 129, 131, 133-135, 134, 134, 137-141, 143
lib/libs/api/kafka.test.ts 100% 100% 100% 100%
lib/libs/api/auth/user.test.ts 100% 100% 100% 100%
lib/libs/email/address-lib.ts 0% 0% 0% 0% 13-27, 17-25, 19, 21-24, 23, 26, 29-41, 33-37, 37-39, 39-40
lib/libs/email/cognito-lib.ts 0% 0% 0% 0% 8-10, 17-47, 20-46, 22-40, 29-32, 31, 33-38, 37, 39, 42, 44-45
lib/libs/email/handler-lib.ts 0% 0% 0% 0% 27-35, 30, 30-34, 40-85, 41-50, 53-83, 54-80, 56-60, 57-59, 58, 62-74, 64-72, 65-66, 66-67, 69, 71, 76, 78-79, 82, 84
lib/libs/email/os-lib.ts 0% 0% 0% 0% 28-39, 32-39, 34, 34-35, 35-36, 41-99, 44-96, 46-48, 47, 50-66, 95, 97-98, 101-126, 104-123, 106-108, 107, 110-115, 117-120, 122, 124-125
lib/local-constructs/clamav-scanning/index.ts 0% 100% 0% 0% 31-32, 35-38, 40-53, 56-59, 62-69, 71-78, 81-85, 88-98, 101-104, 107-109, 111-113, 116-165, 167-173, 175-189, 191-197, 199-212, 215-217, 219-221, 224-228, 230-236, 239-273
lib/local-constructs/clamav-scanning/src/handlers/defs.test.ts 100% 100% 100% 100%
lib/local-constructs/clamav-scanning/src/handlers/scan.ts 76.92% 66.66% 100% 76.92% 56-58, 66-68, 74-76
lib/local-constructs/clamav-scanning/src/lib/clamav.ts 0% 0% 0% 0% 15, 17, 19-43, 20-42, 21-29, 31, 33-36, 34-35, 38, 40-41, 45-105, 47-51, 49-50, 54-57, 59-61, 60-61, 64-102, 66-100, 67-70, 72-74, 76-79, 81-99, 82-92, 85-87, 86, 89-91, 94-98, 104, 110-180, 113-119, 118, 122-143, 123-142, 124-133, 129, 135, 137-141, 146-148, 150-177, 152-175, 153-155, 157-163, 165-174, 166-169, 167-168, 171-173, 179, 193-223, 196-222, 197-201, 204-212, 205-212, 208-211, 214-215, 217, 219-221
lib/local-constructs/clamav-scanning/src/lib/file-ext.ts 0% 0% 0% 0% 8, 11-57, 13, 16-19, 17-18, 22-25, 23-24, 28, 30-33, 31-32, 36-37, 40-43, 45-50, 46-49, 53, 55-56, 61, 61, 67-105, 68, 71, 73-91, 74-90, 76-79, 78, 80, 82-85, 84, 86, 88-89, 92-97, 93-96, 98-101, 103-104, 109-119, 118, 120-129, 121-128, 127, 130, 134-140, 135-138, 149-228, 235, 237-240, 242-243, 245-263, 246, 249, 249, 251, 254-256, 255, 258, 260-262, 261, 265
lib/local-constructs/clamav-scanning/src/lib/s3.ts 0% 0% 0% 0% 13, 17, 23-43, 24-36, 32-35, 37-39, 41-42, 50-52, 51, 54-57, 59, 61-64, 66-77, 67-70, 69, 71-73, 75-76, 85-107, 86-104, 106, 111-125, 112-120, 116, 116-117, 119, 122-124
lib/local-constructs/clamav-scanning/src/lib/utils.test.ts 100% 75% 100% 100%
lib/local-constructs/clamav-scanning/src/lib/utils.ts 100% 100% 100% 100%
lib/local-constructs/cleanup-kafka/index.ts 100% 100% 100% 100%
lib/local-constructs/cleanup-kafka/src/cleanupKafka.ts 75% 83.33% 66.66% 78.26% 33-42, 42, 46
lib/local-constructs/cloudwatch-to-s3/index.test.ts 100% 100% 100% 100%
lib/local-constructs/cloudwatch-to-s3/index.ts 100% 100% 100% 100%
lib/local-constructs/create-topics/index.ts 100% 100% 100% 100%
lib/local-constructs/create-topics/src/createTopics.ts 100% 80% 100% 100%
lib/local-constructs/empty-buckets/index.ts 100% 100% 100% 100%
lib/local-constructs/empty-buckets/src/emptyBuckets.ts 0% 0% 0% 0% 12, 14-24, 15, 17-23, 18-22, 20-21, 29-52, 30-42, 44-51, 45-48, 50, 54-59, 61, 63-66, 68, 72-73, 77-107, 78-84, 86-93, 87-92, 88-91, 95-102, 96-101, 97-100, 104-106, 109, 113, 115-125, 116-124
lib/local-constructs/manage-users/index.ts 100% 100% 100% 100%
lib/local-constructs/manage-users/src/cognito-lib.ts 2.56% 0% 0% 2.56% 13-19, 14-16, 18, 23-31, 25-26, 28, 30, 35-124, 37-41, 44-46, 45, 48-50, 53-55, 54, 57-59, 62-66, 69-91, 70-72, 71, 73-90, 75-83, 86-89, 94-116, 95-97, 96, 98-115, 100-108, 111-114, 119-121, 123
lib/packages/shared-types/opensearch/main/transforms/issue-rai.ts 40% 0% 0% 50% 4-9, 4-9, 4-9
lib/packages/shared-types/opensearch/main/transforms/respond-to-rai.ts 40% 0% 0% 50% 4-9, 4-9, 4-9
lib/packages/shared-types/opensearch/main/transforms/toggle-withdraw-enabled.ts 40% 0% 0% 50% 4-10, 4-10, 4-10
lib/packages/shared-types/opensearch/main/transforms/withdraw-package.ts 40% 0% 0% 50% 5-11, 5-11, 5-11
lib/packages/shared-types/opensearch/main/transforms/withdraw-rai-response.ts 40% 0% 0% 50% 4-10, 4-10, 4-10
lib/packages/shared-utils/package-check.test.ts 100% 100% 100% 100%
lib/packages/shared-utils/regex.ts 100% 90.47% 75% 100%
lib/packages/shared-utils/rules.test.ts 99.09% 50% 100% 100% 19
lib/packages/shared-utils/s3-url-parser.ts 100% 100% 50% 100%
lib/packages/shared-utils/seatool-date-helper.test.ts 100% 100% 100% 100%
lib/packages/shared-utils/seatool-date-helper.ts 100% 77.77% 70% 100%
lib/packages/shared-utils/testData.ts 100% 100% 100% 100%
lib/packages/shared-utils/user-helper.test.ts 100% 100% 100% 100%
lib/packages/shared-utils/package-actions/getAvailableActions.ts 12.5% 0% 0% 14.28% 11-14, 13, 13, 16-23, 17-22, 20, 20, 25-28, 26, 26-27, 27, 30-32, 31, 34, 36-45, 37-44, 43, 46, 9, 20, 27, 33-34, 34, 42-43
lib/stacks/api.ts 0% 0% 0% 0% 38-41, 47, 61, 63, 66-127, 130-184, 140-145, 142-144, 143, 147-150, 152-171, 173-182, 174, 177-181, 183, 186-309, 311-325, 313-322, 328-346, 348-354, 357-396, 399-410, 413-424, 426-485, 487-518, 492, 495-501, 504-517, 520-522, 521, 525-553, 529-546, 548-552, 549-551, 555-557, 556, 559-562, 564-569, 571-581, 583-585, 587-595, 597
lib/stacks/auth.ts 0% 0% 0% 0% 36-41, 50, 64-69, 72-99, 102-130, 104-129, 133-163, 165-172, 175-188, 191-217, 219-226, 228-239, 241-319, 242-249, 251-313, 315-318, 321
lib/stacks/data.ts 0% 0% 0% 0% 31-34, 55-56, 62, 64-372, 65-66, 68-75, 77-82, 84-91, 93-105, 107-125, 127-133, 135-142, 144-156, 158-165, 167-178, 180-188, 190-281, 232, 283-294, 296-350, 352-358, 360-368, 370-371, 374-384, 386-394, 387-393, 396-451, 415-437, 439-448, 440, 443-447, 450, 453-507, 509-517, 519-536, 521-533, 538-560, 562-590, 592-600, 593-613, 615-660, 662-810, 671, 721, 778, 812-819, 821-834, 836-843, 845-887, 889-895, 897-902, 904-906, 905, 909-950, 952-960, 963-1005, 984, 1007-1015, 1017-1019, 1021
lib/stacks/deployment-config.ts 96.66% 93.33% 100% 96.66% 115-117
lib/stacks/parent.ts 0% 0% 0% 0% 14, 16-24, 26-29, 31-35, 32-34, 37-41, 43-46, 48-54, 56-59, 61-73, 75-90, 92-107, 109-124, 126-141, 143-147, 149-156, 150-155, 161-162, 166-175, 167-168, 170-172, 171, 174
react-app/src/config.tsx 100% 100% 100% 100%
react-app/src/api/submissionService.ts 57.14% 35.48% 64.28% 56.25% 40, 78-87, 89-94, 107-112, 164-208, 166-167, 170-176, 172-176, 180-182, 185-191, 187-190, 194-202, 205-207, 218-221, 220
react-app/src/api/useGetUser.test.ts 97.14% 88.88% 100% 97.14% 15-17
react-app/src/api/useSearch.ts 18.18% 0% 0% 20% 25-33, 35, 41, 41, 43-66, 46-48, 47, 50-55, 57-59, 58, 58, 61-65, 62-64, 68, 79-81, 80, 92-96, 96
react-app/src/api/mocks/submit.ts 40% 100% 0% 40% 6, 9-15, 19
react-app/src/components/BreadCrumb/BreadCrumb.test.tsx 100% 100% 100% 100%
react-app/src/components/Form/content/PackageSection.tsx 33.33% 0% 0% 33.33% 5-6
react-app/src/components/Inputs/form.tsx 96.77% 57.14% 100% 96.77% 50
react-app/src/components/Inputs/switch.tsx 33.33% 100% 0% 33.33% 18-19
react-app/src/components/RHF/Field.tsx 100% 80% 100% 100%
react-app/src/components/RHF/FieldArray.tsx 100% 100% 100% 100%
react-app/src/components/RHF/FormGroup.tsx 100% 100% 100% 100%
react-app/src/components/RHF/Section.tsx 100% 100% 100% 100%
react-app/src/components/RHF/Slot.tsx 100% 91.66% 100% 100%
react-app/src/components/RHF/SlotField.tsx 85.71% 75% 75% 91.66% 93-95, 186
react-app/src/components/RHF/tests/NameGen.test.tsx 84.37% 100% 50% 84.37% 61-62, 77, 94, 113
react-app/src/components/RHF/utils/is.ts 52.63% 0% 0% 55.55% 23, 26, 29, 32, 34, 37, 40-43, 46, 49-54
react-app/src/components/Routing/Link.tsx 9.09% 0% 0% 12.5% 18, 20-26, 21-22, 22-23, 23-24, 24-25, 39, 41-47, 42-43, 43-44, 44-45, 45-46
react-app/src/components/Routing/hooks.ts 8% 0% 0% 10.52% 10, 12-30, 20-27, 21-22, 22-23, 23-24, 24, 26, 29, 32, 42-49, 43-44, 44-45, 45-46, 46, 48, 51
react-app/src/features/dashboard/index.tsx 15.78% 0% 0% 15.78% 25-41, 26-31, 27-30, 29, 33, 36-38, 37, 40, 47-49, 51-53, 52, 55-57, 88-95, 89-94
react-app/src/features/faq/index.tsx 11.11% 0% 0% 11.11% 14, 16-28, 18-27, 19-26, 21-25
react-app/src/features/package-actions/legacy-shared-components.tsx 0% 0% 0% 0% 15-49, 16-18, 20-43, 21, 23-27, 24-26, 25, 29-36, 33-35, 34, 38-42, 45-48, 51-68, 52-54, 56-62, 57-61, 64-67, 70-113, 71-74, 76-112, 77-111, 78-100, 85-100, 88-94, 89-90, 92-93, 96-99, 101-111, 102-110, 116-123, 117-121, 118-120, 119, 122
react-app/src/features/package-actions/lib/modules/temporary-extension/index.tsx 22.22% 0% 0% 23.52% 32, 34-66, 35-44, 37-43, 47-49, 51-60, 53-59, 61, 64-65, 94-102, 105
react-app/src/features/package-actions/lib/modules/temporary-extension/legacy-components.tsx 22.22% 0% 0% 22.22% 23-25, 27-30, 28-29, 69, 100-102, 101, 114, 146, 169-172, 171
react-app/src/features/selection-flow/external-landing/ExternalAppLandingPage.tsx 55.55% 100% 20% 55.55% 59, 80-112, 115-146, 149-178
react-app/src/features/submission/app-k/index.tsx 4% 0% 0% 4.16% 22-30, 32-34, 33, 36-71, 37-69, 46-58, 56-57, 59, 61-66, 68, 73, 75-78, 76, 76-77
react-app/src/features/submission/app-k/slots.tsx 8.1% 0% 0% 8.57% 30-51, 31-32, 43, 65-154, 66-68, 70-106, 71, 73, 73, 75, 77-81, 80, 83-87, 84-86, 89, 91-94, 92-93, 96, 98-103, 99-102, 105, 108-110, 109, 109, 126-128, 157-161, 183, 194
react-app/src/features/webforms/Webform.tsx 0% 0% 0% 0% 8, 10-13, 16-22
react-app/src/hooks/useParams.ts 3.12% 0% 0% 3.57% 10, 12, 14-25, 15, 15, 17-18, 18, 20-24, 21, 23, 27-52, 28-31, 29, 29-30, 33-34, 37-50, 39-46, 40, 40-44, 43, 45, 48, 54-59, 55-58, 56-57, 61
react-app/src/hooks/useCountdown/index.ts 91.66% 75% 100% 91.3% 33-34
react-app/src/hooks/useIdle/index.ts 100% 50% 100% 100%
react-app/src/utils/labelMappers.ts 8% 0% 0% 8% 7-28, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 32-55, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54
react-app/src/utils/useSeaToolAuthorityId.ts 25% 0% 0% 25% 8-10, 12
react-app/src/utils/Poller/DataPoller.ts 0% 0% 0% 0% 16-43, 20, 22-42, 23-41, 25-26, 28-34, 29-33, 36-40, 9, 12
react-app/testing/setup.ts 100% 100% 100% 100%
Generated in workflow #46

delete process.env.attachmentsBucketName;

expect(() => handler({} as APIGatewayEvent)).toThrowError;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This test never ran as it was never called – eslint caught the error and I fixed it

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

handler can't have thrown an error because it was being mocked, so we had to spy on the response function like we did in the previous tests

Comment on lines +15 to +17
validateEnvVariable("attachmentsBucketName");
validateEnvVariable("attachmentsBucketRegion");

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I moved these into the try so the catch block catches them

@@ -86,6 +86,6 @@ describe("Kafka producer functions", () => {

it("should throw an error if brokerString is not defined", () => {
delete process.env.brokerString;
expect(() => getProducer()).toThrowError;
expect(() => getProducer()).toThrowError();
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Test never ran so it wasn't called

Copy link
Collaborator

Choose a reason for hiding this comment

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

Good catch

@@ -63,7 +63,7 @@ export const downloadAVDefinitions = async (): Promise<void[]> => {
// Download each file in the bucket
const downloadPromises: Promise<void>[] = definitionFileKeys.map(
(filenameToDownload) => {
return new Promise<void>(async (resolve, reject) => {
return new Promise<void>((resolve, reject) => {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is the async/await version of the Promise constructor antipattern!
Never ever use an async function as a Promise executor function

answer

Comment on lines 66 to 67
submitterName:
`${user?.user?.given_name} ${user?.user?.family_name}` ?? "N/A",
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The fallback would never run since the first value is a string. I'm gonna change the check so it falls back if the user object is empty

Copy link
Collaborator

Choose a reason for hiding this comment

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

True. Yeah, because nullish operator only checks for null or undefined. Wondering if we should flip to a || instead or just remove?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Resolved with fe8de8b

Comment on lines +21 to +29
const stopCountdown = useCallback(() => {
setIsCountdownRunning(false);
};
}, []);

// Will set running false and reset the seconds to initial value
const resetCountdown = useCallback(() => {
stopCountdown();
setCount(minutesToCountDown);
}, [stopCountdown]);
}, [stopCountdown, minutesToCountDown]);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yay to the new tests to confirm these still work!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fancy new types file for env variables

@@ -3,7 +3,7 @@ import { raiIssueSchema } from "../../..";
export const transform = (id: string) => {
return raiIssueSchema.transform((data) => ({
id,
makoChangedDate: !!data.timestamp
makoChangedDate: data.timestamp
Copy link
Collaborator

Choose a reason for hiding this comment

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

These concern me only because I don't know if I can trust the type here enough to remove it. If we are able to confirm that the code sufficiently validates the type is what we say it is I am okay with this

Copy link

codeclimate bot commented Aug 5, 2024

Code Climate has analyzed commit fe8de8b and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 37.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 53.4% (0.0% change).

View more on Code Climate.

Copy link
Contributor

@mdial89f mdial89f left a comment

Choose a reason for hiding this comment

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

Will this also start failing our builds when there's type errors? It seems to have stopped behaving that way.

LGTM. Brian is wary of the !! change he left a comment on. I'll refrain from approving and defer to him and his satisfaction.

@13bfrancis
Copy link
Collaborator

I'

Will this also start failing our builds when there's type errors? It seems to have stopped behaving that way.

LGTM. Brian is wary of the !! change he left a comment on. I'll refrain from approving and defer to him and his satisfaction.

Yeah, I did some thinking. We're about to do a massive overhaul of how this sinking and stuff works anyway. Feel free to merge Asharon

@asharonbaltazar asharonbaltazar merged commit b5a3f18 into main Aug 6, 2024
16 checks passed
@asharonbaltazar asharonbaltazar deleted the fix-eslint branch August 6, 2024 16:47
Copy link
Contributor

github-actions bot commented Aug 7, 2024

🎉 This PR is included in version 1.5.0-val.71 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants