Skip to content

Commit

Permalink
Utils: Fix some indentation (#341)
Browse files Browse the repository at this point in the history
  • Loading branch information
edg2s authored Nov 19, 2024
1 parent 387002b commit 3fe1107
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 );

Expand Down Expand Up @@ -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 );

Expand Down Expand Up @@ -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' ) + '.';
Expand Down

0 comments on commit 3fe1107

Please sign in to comment.