Skip to content

Fix eslint crashing due to composes property#243

Merged
mizdra merged 3 commits into
mainfrom
fix-eslint-composes
Aug 12, 2025
Merged

Fix eslint crashing due to composes property#243
mizdra merged 3 commits into
mainfrom
fix-eslint-composes

Conversation

@mizdra
Copy link
Copy Markdown
Owner

@mizdra mizdra commented Aug 12, 2025

close: #238

@mizdra mizdra added the Type: Bug Bug or Bug fixes label Aug 12, 2025
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Aug 12, 2025

🦋 Changeset detected

Latest commit: d5c9787

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@css-modules-kit/eslint-plugin Patch
@css-modules-kit/stylelint-plugin Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

// - `composes: global(a) from './test.module.css';`
//
// ref: https://github.com/css-modules/postcss-modules-extract-imports/blob/16f9c570e517cf3558b88cf96dcadf794230965a/src/index.js
composes: '[ [ <custom-ident> | global(<custom-ident>) ] ]# [ from <string> ]?',
Copy link
Copy Markdown
Owner Author

@mizdra mizdra Aug 12, 2025

Choose a reason for hiding this comment

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

@mizdra mizdra merged commit f81c8a8 into main Aug 12, 2025
10 checks passed
@mizdra mizdra deleted the fix-eslint-composes branch August 12, 2025 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Bug Bug or Bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The composes property crashes ESLint

1 participant