Skip to content

Add an eslint rule to prevent optional chaining #3074

@acywatson

Description

@acywatson

Add an eslint rule to prevent optional chaining. We don't support it and it will fail the build. Can probably use this, but I don't think we want to depend on this package, necessarily (hasn't been updated in a while and seems to require some additional config that we might not want).

https://github.com/mysticatea/eslint-plugin-es/blob/master/lib/rules/no-optional-chaining.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions