We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cc1aa8 commit 26c73deCopy full SHA for 26c73de
lib/rules/no-typos.js
@@ -77,7 +77,9 @@ module.exports = {
77
} else if (callee.type === 'MemberExpression' && callee.property.name === 'oneOfType') {
78
const args = node.arguments[0];
79
if (args && args.type === 'ArrayExpression') {
80
- args.elements.forEach(el => checkValidProp(el));
+ args.elements.forEach(el => {
81
+ checkValidProp(el);
82
+ });
83
}
84
85
0 commit comments