Skip to content

Change Request: allow allowReserved regardless of version #19278

Open
@aladdin-add

Description

Discussed in #19256

Originally posted by jsumners-nr December 19, 2024

ESLint version

9.17.0

What problem do you want to solve?

Per this difficult to find reference https://eslint.org/docs/latest/use/configure/language-options#specifying-parser-options, the allowReserved option is tied to the ECMA v3 setting. I very much have a case where I need to test that reserved words do not interfere with operations. As a result, I seem to be completely blocked on being able to upgrade to eslint v9.

https://github.com/newrelic/node-newrelic/blob/47b8398820d665a85a96ae84e30eaaf20564dcf8/test/unit/instrumentation/connect.test.js#L130-L140

What do you think is the correct solution?

Allow us to turn off this not very helpful error.

Participation

  • I am willing to submit a pull request for this change.

Additional comments

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    coreRelates to ESLint's core APIs and featuresenhancementThis change enhances an existing feature of ESLint

    Type

    No type

    Projects

    • Status

      Triaging

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions