Skip to content

Conversation

ST-DDT
Copy link
Member

@ST-DDT ST-DDT commented Oct 10, 2023

@ST-DDT ST-DDT added p: 1-normal Nothing urgent c: infra Changes to our infrastructure or project setup labels Oct 10, 2023
@ST-DDT ST-DDT added this to the vAnytime milestone Oct 10, 2023
@ST-DDT ST-DDT requested review from a team October 10, 2023 10:05
@ST-DDT ST-DDT self-assigned this Oct 10, 2023
@ST-DDT
Copy link
Member Author

ST-DDT commented Oct 10, 2023

This is probably one of the more controversial rules.

@codecov
Copy link

codecov bot commented Oct 10, 2023

Codecov Report

Merging #2464 (35518d2) into next (8a405fa) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files
@@           Coverage Diff           @@
##             next    #2464   +/-   ##
=======================================
  Coverage   99.58%   99.59%           
=======================================
  Files        2823     2823           
  Lines      255520   255503   -17     
  Branches     1101     1105    +4     
=======================================
- Hits       254464   254463    -1     
+ Misses       1028     1012   -16     
  Partials       28       28           
Files Coverage Δ
src/modules/date/index.ts 100.00% <100.00%> (ø)
src/modules/finance/index.ts 100.00% <100.00%> (ø)
src/modules/internet/index.ts 100.00% <100.00%> (ø)

... and 2 files with indirect coverage changes

Copy link
Contributor

@matthewmayer matthewmayer left a comment

Choose a reason for hiding this comment

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

Disagree. Long ternaries are ugly and hard to read.

@ST-DDT ST-DDT added the s: needs decision Needs team/maintainer decision label Oct 10, 2023
@ST-DDT
Copy link
Member Author

ST-DDT commented Oct 15, 2023

@matthewmayer Are there any changes that improve readability for you or would you like to revert them all?

Copy link
Member Author

@ST-DDT ST-DDT left a comment

Choose a reason for hiding this comment

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

Team Decision

We will permanently disable the rule.

@ST-DDT ST-DDT removed the s: needs decision Needs team/maintainer decision label Oct 17, 2023
@ST-DDT
Copy link
Member Author

ST-DDT commented Oct 20, 2023

Ready for review.

@ST-DDT ST-DDT requested review from matthewmayer and a team October 20, 2023 09:01
@xDivisionByZerox xDivisionByZerox enabled auto-merge (squash) October 26, 2023 22:05
@xDivisionByZerox xDivisionByZerox merged commit 9297e5b into next Oct 26, 2023
@ST-DDT ST-DDT deleted the infra/unicorn/prefer-ternary branch October 26, 2023 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: infra Changes to our infrastructure or project setup p: 1-normal Nothing urgent
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants