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

Fix eslint-plugin-react versions #5073

Open
wants to merge 26 commits into
base: master
Choose a base branch
from
Open

Fix eslint-plugin-react versions #5073

wants to merge 26 commits into from

Conversation

liady
Copy link
Contributor

@liady liady commented Mar 18, 2024

Problem:
VSCode eslint didn't catch functions in react/jsx-no-bind rule, whereas the prettier config did catch them.

Fix:

  1. Match the versions of eslint-plugin-react-*
  2. Extract our runtime editor eslint to a new package: utopia-runtime-eslint - to fully separate it from our IDE lint config and plugins.
  3. Add a step to install that package before installing the editor.

This PR also fixes all of the new lint errors from this change.

Copy link
Contributor

github-actions bot commented Mar 18, 2024

Try me

(building...)

Copy link

relativeci bot commented Mar 18, 2024

Job #11127: Bundle Size — 63.29MiB (+0.06%).

f9c277f(current) vs 2296c28 master#11106(baseline)

Important

Bundle introduced 1 duplicate package – View changed duplicate packages

Warning

Bundle introduced 9 new packages: define-data-property, es-define-property, es-errors and 6 more – View changed packages

Bundle metrics  Change 6 changes Regression 3 regressions Improvement 1 improvement
                 Current
Job #11127
     Baseline
Job #11106
Regression  Initial JS 50.47MiB(+0.08%) 50.43MiB
No change  Initial CSS 0B 0B
Change  Cache Invalidation 32.68% 21.42%
No change  Chunks 40 40
No change  Assets 44 44
Change  Modules 4470(+0.07%) 4467
No change  Duplicate Modules 605 605
Improvement  Duplicate Code 31.94%(-0.09%) 31.97%
Regression  Packages 477(+2.14%) 467
Regression  Duplicate Packages 59(+1.72%) 58
Bundle size by type  Change 2 changes Regression 1 regression Improvement 1 improvement
                 Current
Job #11127
     Baseline
Job #11106
Regression  JS 63.27MiB (+0.06%) 63.24MiB
Improvement  HTML 14.15KiB (-0.44%) 14.21KiB

View job #11127 reportView fix/eslint-version branch activityView project dashboard

Copy link
Contributor

Performance test results:

editor/tsconfig.json Outdated Show resolved Hide resolved
Copy link
Contributor

Performance test results:

Copy link
Contributor

Performance test results:

Copy link
Contributor

Performance test results:

Copy link
Contributor

Performance test results:

Copy link
Contributor

Performance test results:

Copy link
Contributor

Performance test results:

Copy link
Contributor

Try me

(deploying...)

Copy link
Contributor

Try me

Copy link
Contributor

Try me

(deploying...)

Copy link
Contributor

Try me

@liady liady marked this pull request as draft March 19, 2024 14:07
Copy link
Contributor

Try me

(deploying...)

Copy link
Contributor

Try me

@liady liady marked this pull request as ready for review March 19, 2024 14:57
Copy link
Contributor

Try me

(deploying...)

Copy link
Contributor

Try me

Copy link
Contributor

Try me

(deploying...)

Copy link
Contributor

Try me

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

3 participants