Glavin001/tslint-clean-code
Ver no GitHubEnforce prefixes for name of functions with boolean return type
Open
#66 aberto em 2 de nov. de 2018
good first issuehelp wantedrule
Métricas do repositório
- Stars
- (175 stars)
- Métricas de merge de PR
- (Nenhuma PRs mesclada em 30d)
Description
See https://github.com/Glavin001/tslint-clean-code/pull/62#discussion_r227669295
I'd like to make a TSLint rule which sees a method's return type is boolean and checks the starting of the method name for is and other prefixes 🤣.
- private textIsSingleWord(text: string): boolean {
+ private isTextSingleWord(text: string): boolean {