Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Glavin001 opened this issue Nov 2, 2018 · 0 comments
Open

Comments

@Glavin001
Copy link
Owner

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 {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant