Skip to content

[interface-name-prefix] Allow to set custom prefix #1145

@antoine-pous

Description

@antoine-pous

Repro

{
  "rules": {
    "@typescript-eslint/interface-name-prefix": [2, 
      {
        "usePrefix": "always",
        "prefix": "CustomPrefix"
      }
    ]
  }
}
export interface CustomPrefixHelloWorld {

}

Expected Result
This rule would be awesome if it allow us natively to use the prefix we need instead of having only I. I know it's the recommended stuff, but sometimes a team works with same practices and other keyworks.

Actual Result
We can use only I 😞

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement: plugin rule optionNew rule option for an existing eslint-plugin rulehas prthere is a PR raised to close thispackage: 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