Skip to content

Enforce prefixes for name of functions with boolean return type #66

@Glavin001

Description

@Glavin001

See #62 (comment)

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 {

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions