Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
antoine-pous opened this issue Oct 26, 2019 · 0 comments · Fixed by #1318
Closed

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

antoine-pous opened this issue Oct 26, 2019 · 0 comments · Fixed by #1318
Labels
enhancement: plugin rule option New rule option for an existing eslint-plugin rule has pr there is a PR raised to close this package: eslint-plugin Issues related to @typescript-eslint/eslint-plugin

Comments

@antoine-pous
Copy link

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 😞

@antoine-pous antoine-pous added package: eslint-plugin Issues related to @typescript-eslint/eslint-plugin triage Waiting for team members to take a look labels Oct 26, 2019
@bradzacher bradzacher added the enhancement: plugin rule option New rule option for an existing eslint-plugin rule label Oct 26, 2019
@bradzacher bradzacher added has pr there is a PR raised to close this and removed triage Waiting for team members to take a look labels Dec 10, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement: plugin rule option New rule option for an existing eslint-plugin rule has pr there is a PR raised to close this package: eslint-plugin Issues related to @typescript-eslint/eslint-plugin
Projects
None yet
2 participants