-
-
Notifications
You must be signed in to change notification settings - Fork 381
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Style: rename functions startsWith check
and returns boolean
#591
Comments
check
and return boolean
check
and returns boolean
I agree. We should prefix with |
@sindresorhus What about other verbs like |
These could either be |
Guys, I'm taking about code style on our codebase, should I change this to a rule proposal? 😆 |
It should be configured in XO because it's a generic rule. Found via typescript-eslint/typescript-eslint#515 via sindresorhus/meta#12 |
Has this been added to TS-ESlint? typescript-eslint/typescript-eslint#1318 |
We have a lot of functions named
check…
, those functions don't return a boolean value are fine, but when I read some function like thiseslint-plugin-unicorn/rules/consistent-function-scoping.js
Line 108 in cdfedd8
true
mean.Check result with `unicorn/no-keyword-prefix` rule
The text was updated successfully, but these errors were encountered: