-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
accepting prsGo ahead, send a pull request that resolves this issueGo ahead, send a pull request that resolves this issueenhancement: plugin rule optionNew rule option for an existing eslint-plugin ruleNew rule option for an existing eslint-plugin rulepackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin
Description
Description
Similar advantages to allowedNames
on explicit-module-boundary-types
and ignoredMethodNames
on explicit-member-accessibility
Fail
{
"@typescript-eslint/explicit-function-return-type": [
"error",
{
"allowedNames": []
}
]
}
ngOnInit() {
this.initStuff();
}
initStuff(): void {
this.init = true;
}
Pass
{
"@typescript-eslint/explicit-function-return-type": [
"error",
{
"allowedNames": ["ngOnInit"]
}
]
}
ngOnInit() {
this.initStuff();
}
initStuff(): void {
this.init = true;
}
hadimbj
Metadata
Metadata
Assignees
Labels
accepting prsGo ahead, send a pull request that resolves this issueGo ahead, send a pull request that resolves this issueenhancement: plugin rule optionNew rule option for an existing eslint-plugin ruleNew rule option for an existing eslint-plugin rulepackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin