Skip to content
This repository has been archived by the owner on Feb 21, 2020. It is now read-only.

Update eslint to version 5.7.0 #103

Merged
merged 17 commits into from Oct 14, 2018
Merged

Update eslint to version 5.7.0 #103

merged 17 commits into from Oct 14, 2018

Conversation

FloEdelmann
Copy link
Contributor

@FloEdelmann FloEdelmann commented Sep 14, 2018

And add all rules that were added to eslint since version 4.15.0.

I hope that everything still works, given that it's a breaking version change. As far as I can tell, the breaking changes shouldn't have an impact on the usage here.

See also https://eslint.org/docs/user-guide/migrating-to-5.0.0 and https://github.com/eslint/eslint/releases.

@FloEdelmann FloEdelmann changed the title Update eslint to version 5.5.0 Update eslint to version 5.6.0 Sep 15, 2018
@@ -4,7 +4,6 @@
RegExp('[');
//#Err: no-invalid-regexp
RegExp('.', 'z');
//#Err: no-invalid-regexp
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should still report an error according to eslint website https://eslint.org/docs/rules/no-invalid-regexp

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True, it actually should throw an error, but it doesn't. I opened an issue in the eslint repository: eslint/eslint#10861

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to merge this PR in and then when that fix is in we can make another PR for the minor version update. Because technically this is the way eslint 5.6.0 works right now. When this is fixed itll be a diff version. Unless this PR is meant to cover all eslint rules from 5.6.0 - 5.7.0?

Also, FYI I will be fixing this week eslint/eslint#10861

@rtfpessoa

Thank you

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sstern6 I would prefer to wait a bit more to avoid a regression in the product. It can lead to weird cases.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok I understand, so then when that fix is merged in codacy will support eslint 5.6.x with the updated fix and will dependent on Eslint next release? How will subsequent releases but handled with eslint. Will a new PR be created in this repo for every minor or major version?

Thanks

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally every release we do a new PR here to update the version.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok sounds good @rtfpessoa. PR for this issue has been merged in eslint/eslint#10920. Im guessing this will make it into the 5.6.2 release, so we will either need to update this PR to support 5.6.2 and label it asa such. Or merge this in and make another PR for 5.6.2.

Given our previous conversation I assume you would like to update this PR?

@rtfpessoa
Copy link
Contributor

rtfpessoa commented Oct 9, 2018 via email

@sstern6
Copy link

sstern6 commented Oct 12, 2018

@rtfpessoa eslint 5.7.0 has been released with the fix that you requested. @FloEdelmann would you mind updating this PR and name to support 5.7.0? https://eslint.org/blog/2018/10/eslint-v5.7.0-released

Does that sound ok to everyone?

@FloEdelmann FloEdelmann changed the title Update eslint to version 5.6.0 Update eslint to version 5.7.0 Oct 12, 2018
@FloEdelmann
Copy link
Contributor Author

@sstern6 Done. Thanks for your updates on this!

@rtfpessoa
Copy link
Contributor

rtfpessoa commented Oct 13, 2018

@FloEdelmann should I continue the update or will you take care of it?

Edit: noticed you already updated. Will fix the test issue.

@rtfpessoa rtfpessoa merged commit f38d4b9 into archived-codacy:master Oct 14, 2018
@FloEdelmann FloEdelmann deleted the eslint-5.5.0 branch October 14, 2018 13:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants