MetaMask / design-tokens

Design tokens to be used throughout MetaMask products
https://metamask.github.io/design-tokens/?path=/docs/getting-started-introduction--docs
25 stars 15 forks source link

fix: fix lint errors in utils #699

Closed brianacnguyen closed 1 month ago

brianacnguyen commented 1 month ago

Description

Related issues

Fixes: #700

Manual testing steps

  1. Go to utils folder and checkout getCSSVariablesFromStylesheet.ts and useJsonColor.ts
  2. Observe linting error

Screenshots/Recordings

Before

Screenshot 2024-05-22 at 5 06 14 PM Screenshot 2024-05-22 at 5 06 33 PM Screenshot 2024-05-22 at 5 06 37 PM

After

Screenshot 2024-05-22 at 5 06 21 PM Screenshot 2024-05-22 at 5 09 04 PM

Function still works

Screenshot 2024-05-22 at 5 07 17 PM Screenshot 2024-05-22 at 5 07 25 PM

Pre-merge author checklist

Pre-merge reviewer checklist

metamaskbot commented 1 month ago

Builds ready [f17e9c2]

Storybook: Storybook