Patch Changes
-
23580df: Add the ESLint plugin core (settings, project caching, inspection caching, source range lookup), the first
Panda lint rules (extraction-diagnostics,file-not-included,no-invalid-token-paths,no-debug, a consolidated
no-deprecatedcovering deprecated tokens, utilities, recipes, and patterns — with the author's deprecation message
and akindsoption, andprefer-token, which flags raw values where a token exists and tells you the token to use
(semantic tokens preferred, value forms normalized) across every style-writing form —css(), style props, responsive
arrays, per-prop conditions, andcva/sva/styledrecipe styles — with a per-leaf quick-fix;recommendedscopes
it to colors, replacing v1'sno-hardcoded-color; plusno-shorthand-longhand-mix, which flags a shorthand mixed
with one of its own longhands in the same block (margin+marginLeft) since the longhand wins regardless of source
order; andconsistent-property-style, an autofixable rule enforcing either Panda shorthand aliases (ml) or
longhand canonical names (marginLeft) viastyle: 'shorthand' | 'longhand'; andno-invalid-nesting(recommended),
which flags a nested selector missing&— e.g.':hover'instead of'&:hover'— that Panda silently ignores, and
suggests the&prefix), and aconfigs.recommended({ configPath })flat-config entry with@pandacss/*rule ids.
Config and compiler loading is preloaded once per project so rule visitors stay synchronous.The same rules also run under oxlint via the
@pandacss/eslint-plugin/oxlintentry (oxlint's ESLint-compatible JS
plugins). -
Updated dependencies [9521059]
-
Updated dependencies [74dab7b]
-
Updated dependencies [0202dba]
-
Updated dependencies [23580df]
-
Updated dependencies [5316642]
-
Updated dependencies [1378d4a]
- @pandacss/compiler@2.0.0-beta.4
- @pandacss/compiler-shared@2.0.0-beta.4
- @pandacss/config@2.0.0-beta.4