Skip to content

feat(enforce-store-naming-convention)!: enforce in binding contexts#181

Merged
kireevmp merged 1 commit into
masterfrom
feat/store-naming-destructuring
Apr 21, 2026
Merged

feat(enforce-store-naming-convention)!: enforce in binding contexts#181
kireevmp merged 1 commit into
masterfrom
feat/store-naming-destructuring

Conversation

@kireevmp
Copy link
Copy Markdown
Contributor

@kireevmp kireevmp commented Apr 19, 2026

Following in steps of #171, this PR upgrades enforce-store-naming-convention to detect identifiers in binding contexts and report violations there as well. This should now include almost every context where developer can control the naming of the identifier – object & array destructuring, assignment patterns and function parameters.

As a bonus, the rule explicitly no longer provides the suggestion for identifiers with type annotations – previously these "fixes" erased the type annotation if it was present, deleting developer's code.

@kireevmp kireevmp self-assigned this Apr 19, 2026
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 19, 2026

Deploy Preview for eslint-plugin ready!

Name Link
🔨 Latest commit 10f030a
🔍 Latest deploy log https://app.netlify.com/projects/eslint-plugin/deploys/69e53f4f682a2000088d12b8
😎 Deploy Preview https://deploy-preview-181--eslint-plugin.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@kireevmp kireevmp force-pushed the feat/store-naming-destructuring branch from 201e519 to 10f030a Compare April 19, 2026 20:47
@kireevmp kireevmp merged commit babf94d into master Apr 21, 2026
8 checks passed
@kireevmp kireevmp deleted the feat/store-naming-destructuring branch April 21, 2026 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants