Skip to content

Conversation

@nex3
Copy link
Contributor

@nex3 nex3 commented Dec 12, 2025

return 'a98rgb';
case 'display-p3':
return 'p3';
case 'display-p3-linear':
Copy link
Member

Choose a reason for hiding this comment

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

Nit: Do we have exhaustive checks enabled in eslint?

It doesn't seem like we do so explicitly, it's not enabled by default by eslint, and I couldn't tell whether gts enabled it 🤔

If not, it may be a good idea to do so, or at the very least to have a const _never: never = value in a default case for the compiler to warn about it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Looks like we do have them enabled.

@nex3 nex3 merged commit cf082c7 into main Dec 16, 2025
17 checks passed
@nex3 nex3 deleted the p3-linear branch December 16, 2025 06:27
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.

3 participants