Skip to content

New option: Support "fetch" in "ignore" option of n/no-unsupported-features/node-builtins #268

@regseb

Description

@regseb

Rule details

This issue doesn't propose a new rule, but a new value for the "ignore" option of the n/no-unsupported-features/node-builtins rule.

With Node v20, this rule reports that fetch is experimental. I'd like to disable fetch checking by adding it to the list of ignored features.

What type of rule is this?

Suggests an alternate way of doing something

Example code

export default {
  "rules": {
    "n/no-unsupported-features/es-builtins": [
      "error",
      { ignores: ["fetch"] }
    ]
  }
};

Participation

  • I am willing to submit a pull request to implement this rule.

Additional comments

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions