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

Breaking: upgrade espree and support new class features (refs #14343) #14591

Merged
merged 68 commits into from Aug 5, 2021

Commits on Jul 23, 2021

  1. update package.json (temporary)

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    b2cf867 View commit details
    Browse the repository at this point in the history
  2. update ast-utils

    - `getFunctionNameWithKind(node)` ... supports class fields and private
      identifier. And now it uses property names rather than function names
      if named function expressions are methods because the property name
      is exposed.
    - `getFunctionHeadLoc(node)` ... supports class fields. And now returns
      the range of property names instead of the arrow locations if arrow
      functions are at method places.
    - `isSameReference(l,r)` ... supports `PrivateIdentifier`.
    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    4902005 View commit details
    Browse the repository at this point in the history
  3. update camelcase

    This commit includes a large refactoring.
    Previously, the `Identifier` node listener handled all cases by
    checking parent node types. But because the `Identifier` node has so
    broad meanings, it's confusing about what kind of nodes it's handling.
    
    Now it uses variables and references of `eslint-scope`. And it checks
    properties, re-exported identifiers, and labels by detailed esqueries.
    The property check newly supports class fields and private identifiers.
    
    This fixes #13021 as well.
    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    dbcec9d View commit details
    Browse the repository at this point in the history
  4. update accessor-pairs (test-only)

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    0934d6d View commit details
    Browse the repository at this point in the history
  5. update class-methods-use-this

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    11dfa74 View commit details
    Browse the repository at this point in the history
  6. update computed-property-spacing

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    dadc75d View commit details
    Browse the repository at this point in the history
  7. update dot-location (test-only)

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    1c7a13f View commit details
    Browse the repository at this point in the history
  8. update dot-notation (test-only)

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    8368b9c View commit details
    Browse the repository at this point in the history
  9. update func-names

    Function expressions at field initializers have inferred names.
    Therefore the `as-needed` option should not report anonymous functions
    at field initializers.
    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    649aeaa View commit details
    Browse the repository at this point in the history
  10. update getter-return (test-only)

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    b65f58a View commit details
    Browse the repository at this point in the history
  11. Copy the full SHA
    7c1e48f View commit details
    Browse the repository at this point in the history
  12. update indent

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    fa6e62e View commit details
    Browse the repository at this point in the history
  13. update keyword-spacing

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    ddd4bd8 View commit details
    Browse the repository at this point in the history
  14. Copy the full SHA
    17a59e3 View commit details
    Browse the repository at this point in the history
  15. update no-dupe-class-members

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    41e05ee View commit details
    Browse the repository at this point in the history
  16. update no-extra-semi

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    7321584 View commit details
    Browse the repository at this point in the history
  17. update no-invalid-this

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    af6099a View commit details
    Browse the repository at this point in the history
  18. update no-multi-assign

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    ea1ebb1 View commit details
    Browse the repository at this point in the history
  19. update no-proto (test-only)

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    17ef4c8 View commit details
    Browse the repository at this point in the history
  20. Copy the full SHA
    1727398 View commit details
    Browse the repository at this point in the history
  21. Copy the full SHA
    4c32c5c View commit details
    Browse the repository at this point in the history
  22. update no-self-assign

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    f861b39 View commit details
    Browse the repository at this point in the history
  23. update no-self-compare (test-only)

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    7235b10 View commit details
    Browse the repository at this point in the history
  24. update no-setter-return

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    685852c View commit details
    Browse the repository at this point in the history
  25. update no-shadow (test-only)

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    2c6b194 View commit details
    Browse the repository at this point in the history
  26. update no-this-before-super (test-only)

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    b77b428 View commit details
    Browse the repository at this point in the history
  27. update no-throw-literal (test-only)

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    2b693ec View commit details
    Browse the repository at this point in the history
  28. update no-undef-init

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    c605eac View commit details
    Browse the repository at this point in the history
  29. update no-underscore-dangle

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    cf9290b View commit details
    Browse the repository at this point in the history
  30. Copy the full SHA
    1fb614e View commit details
    Browse the repository at this point in the history
  31. update no-unreachable

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    da55c3a View commit details
    Browse the repository at this point in the history
  32. update no-useless-call (test-only)

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    2995d40 View commit details
    Browse the repository at this point in the history
  33. update no-useless-computed-key

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    5844aed View commit details
    Browse the repository at this point in the history
  34. update no-eval

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    4c13911 View commit details
    Browse the repository at this point in the history
  35. update operator-assignment (test-only)

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    96adc98 View commit details
    Browse the repository at this point in the history
  36. update operator-linebreak

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    08c03fe View commit details
    Browse the repository at this point in the history
  37. update padded-blocks (test-only)

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    1db8674 View commit details
    Browse the repository at this point in the history
  38. update prefer-exponentiation-operator

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    5013ff5 View commit details
    Browse the repository at this point in the history
  39. Copy the full SHA
    41005b2 View commit details
    Browse the repository at this point in the history
  40. update prefer-object-spread (test-only)

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    e8e8d5c View commit details
    Browse the repository at this point in the history
  41. Copy the full SHA
    6faba6c View commit details
    Browse the repository at this point in the history
  42. Copy the full SHA
    39a768a View commit details
    Browse the repository at this point in the history
  43. update prefer-spread (test-only)

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    5cd34c6 View commit details
    Browse the repository at this point in the history
  44. update quotes

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    7814ab2 View commit details
    Browse the repository at this point in the history
  45. update radix (test-only)

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    6eceb08 View commit details
    Browse the repository at this point in the history
  46. Copy the full SHA
    81c4387 View commit details
    Browse the repository at this point in the history
  47. Copy the full SHA
    94b77df View commit details
    Browse the repository at this point in the history
  48. update semi-spacing

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    39fda57 View commit details
    Browse the repository at this point in the history
  49. update semi-style

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    d2fcec2 View commit details
    Browse the repository at this point in the history
  50. update semi

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    71a8711 View commit details
    Browse the repository at this point in the history
  51. update space-infix-ops

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    d8a7424 View commit details
    Browse the repository at this point in the history
  52. update strict (test-only)

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    dc38e3e View commit details
    Browse the repository at this point in the history
  53. Copy the full SHA
    0be8430 View commit details
    Browse the repository at this point in the history
  54. fix some tests for 7345747

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    2c258d8 View commit details
    Browse the repository at this point in the history
  55. fix no-invalid-this

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    c7bf095 View commit details
    Browse the repository at this point in the history
  56. fix no-eval

    mysticatea authored and nzakas committed Jul 23, 2021
    Copy the full SHA
    24d2309 View commit details
    Browse the repository at this point in the history
  57. Update eslint-scope

    nzakas committed Jul 23, 2021
    Copy the full SHA
    d11a191 View commit details
    Browse the repository at this point in the history
  58. Upgrade Espree

    nzakas committed Jul 23, 2021
    Copy the full SHA
    ffbc00b View commit details
    Browse the repository at this point in the history
  59. Copy the full SHA
    a864b08 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2021

  1. Fix: id-denylist

    nzakas committed Jul 27, 2021
    Copy the full SHA
    1dbcca0 View commit details
    Browse the repository at this point in the history
  2. Update comments

    nzakas committed Jul 27, 2021
    Copy the full SHA
    c9ab746 View commit details
    Browse the repository at this point in the history
  3. Fix: id-match

    nzakas committed Jul 27, 2021
    Copy the full SHA
    c6f69e4 View commit details
    Browse the repository at this point in the history
  4. Fix: id-length

    nzakas committed Jul 27, 2021
    Copy the full SHA
    193c032 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    a8dad97 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2021

  1. Update: id-length

    nzakas committed Jul 28, 2021
    Copy the full SHA
    dfde007 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    b0d0db3 View commit details
    Browse the repository at this point in the history
  3. Docs: id-denylist

    nzakas committed Jul 28, 2021
    Copy the full SHA
    aaaf5aa View commit details
    Browse the repository at this point in the history
  4. Update: id-match

    nzakas committed Jul 28, 2021
    Copy the full SHA
    fbe828b View commit details
    Browse the repository at this point in the history