From 3fe11077e70371d723e061994364162fe27150c1 Mon Sep 17 00:00:00 2001 From: Ed S Date: Tue, 19 Nov 2024 18:40:28 +0000 Subject: [PATCH] Utils: Fix some indentation (#341) --- src/utils.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils.js b/src/utils.js index 2106567..f0e9f8a 100644 --- a/src/utils.js +++ b/src/utils.js @@ -312,7 +312,7 @@ function createCollectionMethodRule( methods, message, options ) { methods = Array.isArray( methods ) ? methods : [ methods ]; let description = 'Disallows the ' + methods.map( jQueryCollectionLink ).join( '/' ) + ' ' + - ( methods.length > 1 ? 'methods' : 'method' ) + '.'; + ( methods.length > 1 ? 'methods' : 'method' ) + '.'; description += messageSuffix( message ); @@ -422,7 +422,7 @@ function createUtilMethodRule( methods, message, options ) { methods = Array.isArray( methods ) ? methods : [ methods ]; let description = 'Disallows the ' + methods.map( jQueryGlobalLink ).join( '/' ) + ' ' + - ( methods.length > 1 ? 'utilies' : 'utility' ) + '.'; + ( methods.length > 1 ? 'utilies' : 'utility' ) + '.'; description += messageSuffix( message ); @@ -500,7 +500,7 @@ function createCollectionOrUtilMethodRule( methods, message, options ) { methods = Array.isArray( methods ) ? methods : [ methods ]; let description = 'Disallows the ' + methods.map( jQueryCollectionLink ).join( '/' ) + ' ' + - ( methods.length > 1 ? 'methods' : 'method' ); + ( methods.length > 1 ? 'methods' : 'method' ); description += ' and ' + methods.map( jQueryGlobalLink ).join( '/' ) + ' ' + ( methods.length > 1 ? 'utilies' : 'utility' ) + '.';