Open
Description
Here's the result of running linter with TIMING=1
on our codebase with panda recommended ruleset enabled
Rule | Time (ms) | Relative
:-----------------------------------------------|-----------:|--------:
@pandacss/no-invalid-token-paths | 218124.183 | 27.8%
@pandacss/no-hardcoded-color | 167018.338 | 21.3%
@pandacss/no-unsafe-token-fn-usage | 161571.479 | 20.6%
@pandacss/no-property-renaming | 126184.392 | 16.1%
@pandacss/no-dynamic-styling | 98082.907 | 12.5%
@typescript-eslint/no-confusing-void-expression | 2837.370 | 0.4%
@pandacss/file-not-included | 2297.380 | 0.3%
@typescript-eslint/no-misused-promises | 1660.920 | 0.2%
@typescript-eslint/no-unused-vars | 1032.843 | 0.1%
react/no-direct-mutation-state | 890.197 | 0.1%
Here's without, for comparison:
Rule | Time (ms) | Relative
:-----------------------------------------------|----------:|--------:
@typescript-eslint/no-confusing-void-expression | 2371.804 | 29.4%
@typescript-eslint/no-misused-promises | 1178.439 | 14.6%
@typescript-eslint/promise-function-async | 673.703 | 8.4%
@typescript-eslint/no-unused-vars | 634.428 | 7.9%
react/no-direct-mutation-state | 562.129 | 7.0%
react/prefer-stateless-function | 348.301 | 4.3%
react/require-render-return | 294.588 | 3.7%
no-redeclare | 256.820 | 3.2%
react/no-unknown-property | 196.698 | 2.4%
react-hooks/rules-of-hooks | 113.093 | 1.4%
Metadata
Assignees
Labels
No labels