Skip to content

Inconsistent documentation for ecmaVersion #17771

@donalmurtagh

Description

@donalmurtagh

Environment

N/A

What parser are you using?

Default (Espree)

What did you do?

In the documentation for the new flat config an example configures the JavaScript as languageOptions.ecmaVersion.

However, an example in the migration guide, the path to this property is languageOptions.parserOptions.ecmaVersion.

What did you expect to happen?

The path to this property should be the same throughout the docs

What actually happened?

The path to this property is not the same throughout the docs

Link to Minimal Reproducible Example

N/A

Participation

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

Additional comments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedThere is consensus among the team that this change meets the criteria for inclusionarchived due to ageThis issue has been archived; please open a new issue for any further discussionbugESLint is working incorrectlydocumentationRelates to ESLint's documentationrepro:neededThis issue should include a reproducible example

    Type

    No type

    Projects

    Status

    Complete

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions