-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Add 3 proposals to babel config #6335
Conversation
…lint and babel-eslint #6308
We have a blocker - babel/babel-eslint#749 - in |
@budnix After review I'll remove in |
src/plugins/copyPaste/copyPaste.js
Outdated
|
||
this.#isFragmentSelectionEnabled = settings.fragmentSelection; | ||
const { copyPaste: settings, fragmentSelection } = this.hot.getSettings(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Renaming copyPaste
to settings
is confusing. My first thought was that pasteMode
is not in our main settings object.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not my code, it is on develop
branch.
As I said above, copyPaste
is only for only demonstrative purpose. And I'll remove all changes after review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, sorry. Didn't noticed that. I had a highlighted change but you're right, that was develop
merge.
I don't think you should remove the changes in copyPaste
. New operators should stay as a part of the code base and be a living proof that the babel plugins are working correctly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that you can remove all code not related to this PR before review. The description of this PR is enough descriptive to handle a review. Moreover, I can look into the code with example syntax by analyzing previous commits.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, I'm not the reviewer 🤐 😄 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good. I will accept the PR after the code from the CopyPaste (unrelated to this changes) plugin is removed.
Additionally, I've encountered an issue related to a specific version of the JSDoc used to generate our documentation. The current version doesn't support nullish coalescing, it throws an error while parsing right now. The JSDoc has to be upgraded with nodeJS (probably to 8.x
).
@pnowak What's our status on this? |
I'm waiting for @budnix to upgrade the node version in the documentation. |
Ok! I've upgraded node version, and we're ready for this PR. However, it's been a while since the last commit to this branch. Can I ask you @pnowak to check dependencies to see if they need updates? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You've updated dependencies but it seems that you forgot to commit package-lock.josn
with new versions?
@pnowak Please sync with develop branch, here we have some issues with npm audit. Some of the was fixed on develop branch. |
It seems that we can remove both plugins - |
Sure! Let's do it. It can be necessary to bump other babel-related modules. |
…hem, remove the unneccessary plugins #6308
* Update babel core to 7.8.3 version and the other modules related to them, remove the unneccessary plugins #6308
* Update babel core to 7.8.3 version and the other modules related to them, remove the unneccessary plugins handsontable#6308
Context
I needed to add
eslint-plugin-babel
and updatebabel-eslint
eslint
to work with these three experimental features. And I didn't have time to implementprivate methods
, I only changed ourprivatePool
to private fields.How has this been tested?
Types of changes
Related issue(s):
Checklist: