Skip to content

new-caps rule doesn't allow configurable NEW_CAPS_ALLOWED #1487

@ljharb

Description

@ljharb

https://github.com/eslint/eslint/blob/master/lib/rules/new-cap.js

This lacks Object for exampe, as well as Function. Can either these be added, or, can the rule accept a list of exceptions?

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 discussionenhancementThis change enhances an existing feature of ESLintruleRelates to ESLint's core rules

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions