Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Record instead of index signatures #409

Merged
merged 1 commit into from
Dec 4, 2023
Merged

Conversation

jas7457
Copy link
Contributor

@jas7457 jas7457 commented Dec 4, 2023

Description

This change makes it so that @typescript-eslint/consistent-indexed-object-style uses the default config for error, aka use a Record and not in index signature.

I created a snapshot and tested this in my repo. Here's a video showing that the switch worked and now it complains on index signatures.

@jas7457
Copy link
Contributor Author

jas7457 commented Dec 4, 2023

/snapit

Copy link
Contributor

github-actions bot commented Dec 4, 2023

🫰✨ Thanks @jas7457! Your snapshot has been published to npm.

Test the snapshot by updating your package.json with the newly published version:

yarn add @shopify/eslint-plugin@0.0.0-snapshot-20231204192806

@jas7457 jas7457 requested a review from vsumner December 4, 2023 19:36
@jas7457 jas7457 merged commit a31814e into main Dec 4, 2023
5 checks passed
@jas7457 jas7457 deleted the jaddleman/use-record branch December 4, 2023 19:48
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.

None yet

2 participants