Glavin001 / Glavin001/tslint-clean-code

Enforce prefixes for name of functions with boolean return type

Open
#66 0 comments 0 reactions 0 assignees View on GitHub
good first issue help wanted rule
Dominant language
TypeScript
Stars
175
Forks
15
PR merge metrics
No merged PRs in 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 🤣.

```diff
- private textIsSingleWord(text: string): boolean {
+ private isTextSingleWord(text: string): boolean {
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.