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

[core] Add ESLint rule to prevent direct state access #3521

Merged
merged 6 commits into from Jan 7, 2022

Conversation

m4theushw
Copy link
Member

@m4theushw m4theushw commented Dec 29, 2021

This is an attempt to add a custom ESLint exclusive for the DataGrid. The idea is to prevents us from doing apiRef.current.state.foo, instead of using a selector.

image

@m4theushw m4theushw added the core Infrastructure work going on behind the scenes label Dec 29, 2021
@github-actions
Copy link

github-actions bot commented Jan 3, 2022

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Jan 3, 2022
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Jan 3, 2022
@m4theushw m4theushw requested a review from a team January 7, 2022 14:52
@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Jan 7, 2022
@github-actions
Copy link

github-actions bot commented Jan 7, 2022

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Jan 7, 2022
@m4theushw m4theushw merged commit 6da0aff into mui:master Jan 7, 2022
@m4theushw m4theushw deleted the eslint-rule branch January 7, 2022 23:46
@cherniavskii cherniavskii mentioned this pull request Oct 10, 2023
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Infrastructure work going on behind the scenes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants