Skip to content

Commit 3fe1107

Browse files
authored
Utils: Fix some indentation (#341)
1 parent 387002b commit 3fe1107

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/utils.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ function createCollectionMethodRule( methods, message, options ) {
312312
methods = Array.isArray( methods ) ? methods : [ methods ];
313313

314314
let description = 'Disallows the ' + methods.map( jQueryCollectionLink ).join( '/' ) + ' ' +
315-
( methods.length > 1 ? 'methods' : 'method' ) + '.';
315+
( methods.length > 1 ? 'methods' : 'method' ) + '.';
316316

317317
description += messageSuffix( message );
318318

@@ -422,7 +422,7 @@ function createUtilMethodRule( methods, message, options ) {
422422
methods = Array.isArray( methods ) ? methods : [ methods ];
423423

424424
let description = 'Disallows the ' + methods.map( jQueryGlobalLink ).join( '/' ) + ' ' +
425-
( methods.length > 1 ? 'utilies' : 'utility' ) + '.';
425+
( methods.length > 1 ? 'utilies' : 'utility' ) + '.';
426426

427427
description += messageSuffix( message );
428428

@@ -500,7 +500,7 @@ function createCollectionOrUtilMethodRule( methods, message, options ) {
500500
methods = Array.isArray( methods ) ? methods : [ methods ];
501501

502502
let description = 'Disallows the ' + methods.map( jQueryCollectionLink ).join( '/' ) + ' ' +
503-
( methods.length > 1 ? 'methods' : 'method' );
503+
( methods.length > 1 ? 'methods' : 'method' );
504504

505505
description += ' and ' + methods.map( jQueryGlobalLink ).join( '/' ) + ' ' +
506506
( methods.length > 1 ? 'utilies' : 'utility' ) + '.';

0 commit comments

Comments
 (0)