Skip to content

Support Optional Chaining in Rules #1051

@bradzacher

Description

@bradzacher

Spinning off of #1033

Rules that need to have support added for optional chaining.
This list was based on a simple grep for MemberExpression and CallExpression, I haven't validated anything beyond that. There are probably extra rules that could do with support as well that don't check MemberExpression and CallExpression.

Rules that require a simple one-line change (i.e. adding a selector):

Rules that require a larger enhancement to support (i.e. new feature in rule):

Extension rules that will be a pain to update (i.e. base extension rewrite):

  • indent / indent-new-do-not-use
  • no-extra-parens
    • This one will be a huge pain, and I believe it will involve us duplicating the base rule. The logic is relatively complex, so this is a non-trivial task.
  • no-unused-vars

Broken rules due to ESLint not supporting the new AST nodes:

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpackage: eslint-pluginIssues related to @typescript-eslint/eslint-plugin

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy