Skip to content

Commit 297c81e

Browse files
address the comments
1 parent 0867e2d commit 297c81e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/spectral/ipa/rulesets/functions/eachCustomMethodMustUseCamelCase.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default (input, opts, { path }) => {
2222
}
2323

2424
const isCamelCase = casing(methodName, { type: 'camel', disallowDigits: true });
25-
if (isCamelCase !== undefined) {
25+
if (isCamelCase) {
2626
return ERROR_RESULT;
2727
}
2828
};

0 commit comments

Comments
 (0)