microsoft / griffel

CSS-in-JS with ahead-of-time compilation ⚡️
https://griffel.js.org
MIT License
1.2k stars 61 forks source link

chore: enable "@typescript-eslint/consistent-type-imports" lint rule #482

Closed layershifter closed 10 months ago

layershifter commented 10 months ago

This PR enables "@typescript-eslint/consistent-type-imports" lint rule and fixes all violations.

github-actions[bot] commented 10 months ago

📊 Bundle size report

Unchanged fixtures | Package & Exports | Size (minified/GZIP) | | -------------------------------------------------------------------------------------------------------------------------- | --------------------------: | | core
\_\_resetStyles (makeResetStyles) | `273 B`
`197 B` | | core
\_\_styles (makeStyles) | `1.649 kB`
`788 B` | | core
makeResetStyles (runtime) | `17.011 kB`
`6.513 kB` | | core
makeStyles (runtime) | `21.499 kB`
`8.145 kB` | | core
mergeClasses | `1.82 kB`
`876 B` | | core
shorthands.padding() | `4.678 kB`
`1.52 kB` | | react
\_\_css | `1.645 kB`
`768 B` | | react
\_\_styles | `3.768 kB`
`1.661 kB` | | react
makeResetStyles (runtime) | `19.172 kB`
`7.377 kB` | | react
makeStaticStyles (runtime) | `9.136 kB`
`4.007 kB` | | react
makeStyles (runtime) | `23.675 kB`
`8.991 kB` | | shadow-dom
createShadowDOMRenderer | `3.236 kB`
`1.408 kB` |

🤖 This report was generated against e2133090aaae82e6425eb599f3fa2ff5c19525ac