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

Update dependency eslint to v7 #3163

Merged
merged 9 commits into from
Jun 29, 2020
Merged

Update dependency eslint to v7 #3163

merged 9 commits into from
Jun 29, 2020

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 8, 2020

Fixes #3085

Fixes #3169

Fixes #2498

@renovate renovate bot force-pushed the renovate/eslint-7.x branch 2 times, most recently from a29bbf1 to c37eede Compare May 12, 2020 17:13
@renovate renovate bot changed the title Update dependency eslint to v7 fix(deps): update dependency eslint to v7 May 19, 2020
@renovate renovate bot force-pushed the renovate/eslint-7.x branch from c37eede to 975258f Compare May 23, 2020 02:16
@renovate renovate bot changed the title fix(deps): update dependency eslint to v7 Update dependency eslint to v7 May 24, 2020
@renovate renovate bot force-pushed the renovate/eslint-7.x branch from 975258f to 27580f7 Compare June 6, 2020 00:22
@renovate renovate bot changed the title Update dependency eslint to v7 fix(deps): update dependency eslint to v7 Jun 15, 2020
@renovate renovate bot changed the title fix(deps): update dependency eslint to v7 Update dependency eslint to v7 Jun 16, 2020
@renovate renovate bot force-pushed the renovate/eslint-7.x branch 4 times, most recently from 54348d0 to fd5b51a Compare June 23, 2020 13:44
@codecov-commenter
Copy link

codecov-commenter commented Jun 23, 2020

Codecov Report

Merging #3163 into master will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3163   +/-   ##
=======================================
  Coverage   99.89%   99.89%           
=======================================
  Files          57       57           
  Lines        1981     1981           
  Branches      414      414           
=======================================
  Hits         1979     1979           
  Misses          2        2           
Impacted Files Coverage Δ
src/scanners/javascript.js 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fca7ec4...479f043. Read the comment docs.

@willdurand willdurand force-pushed the renovate/eslint-7.x branch from fd5b51a to ba5026c Compare June 23, 2020 14:08
@renovate
Copy link
Contributor Author

renovate bot commented Jun 23, 2020

PR has been edited

👷 This PR has received other commits, so Renovate will stop updating it to avoid conflicts or other problems. If you wish to abandon your changes and have Renovate start over you may click the "rebase" checkbox in the PR body/description.

If you think this comment is in error and the branch is not modified, try deleting this comment. If it comes back again the next time Renovate runs, please submit an issue or seek config help.

@willdurand willdurand self-assigned this Jun 23, 2020
@willdurand willdurand force-pushed the renovate/eslint-7.x branch from d04378c to 25ae9c3 Compare June 23, 2020 15:22
@willdurand willdurand requested a review from rpl June 23, 2020 15:35
});

// eslint-disable-next-line jest/no-disabled-tests
it.skip('should support public class fields', async () => {
Copy link
Member

Choose a reason for hiding this comment

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

I think this isnt supported yet but we should start adding some test cases for various syntaxes for the future

Copy link
Member

Choose a reason for hiding this comment

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

apparently (even if Firefox seems to support them from version 69 and Chrome from version 72) public class instance fields are still stage 3: https://github.com/tc39/proposal-class-fields

and unfortunately I was unable to find an existing issue in the eslint repository that does track it (I did find one closed about the private fields, but none about the public instance fields)

we may just reference https://github.com/tc39/proposal-class-fields here to more quickly double-check when the README in that repo will be changed to stage 4.

tests/unit/scanners/test.javascript.js Outdated Show resolved Hide resolved
Copy link
Member

@rpl rpl left a comment

Choose a reason for hiding this comment

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

This lgtm! follows some review comments (just nits on the test side)

Thanks @willdurand!

src/scanners/javascript.js Show resolved Hide resolved
});

// eslint-disable-next-line jest/no-disabled-tests
it.skip('should support public class fields', async () => {
Copy link
Member

Choose a reason for hiding this comment

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

apparently (even if Firefox seems to support them from version 69 and Chrome from version 72) public class instance fields are still stage 3: https://github.com/tc39/proposal-class-fields

and unfortunately I was unable to find an existing issue in the eslint repository that does track it (I did find one closed about the private fields, but none about the public instance fields)

we may just reference https://github.com/tc39/proposal-class-fields here to more quickly double-check when the README in that repo will be changed to stage 4.

tests/unit/scanners/test.javascript.js Outdated Show resolved Hide resolved
@willdurand willdurand force-pushed the renovate/eslint-7.x branch from 960eae7 to 479f043 Compare June 29, 2020 08:55
@willdurand willdurand merged commit 67b039d into master Jun 29, 2020
@willdurand willdurand deleted the renovate/eslint-7.x branch June 29, 2020 11:02
ccarruitero pushed a commit to ccarruitero/addons-linter that referenced this pull request Jul 3, 2020
ccarruitero pushed a commit to ccarruitero/addons-linter that referenced this pull request Jul 3, 2020
Co-authored-by: William Durand <will+git@drnd.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
5 participants