From b089b0d7865c9f2666435230bdf77ab0499e38a3 Mon Sep 17 00:00:00 2001 From: Simon Ho Date: Thu, 29 Sep 2016 19:26:50 -0700 Subject: [PATCH] Fix linting errors Trailing spaces in comments causing linter to fail. Errors introduced at commit 9a1ef0849575a124f963ceb2043916b0b89fbf40. --- lib/validations.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/validations.js b/lib/validations.js index c8221568..3455edf7 100644 --- a/lib/validations.js +++ b/lib/validations.js @@ -131,7 +131,7 @@ Validatable.validatesNumericalityOf = getConfigurator('numericality'); * @param {String} propertyName Property name to validate. * @options {Object} Options See below * @property {Array} inArray Property must match one of the values in the array to be valid. - * @property {String} message Optional error message if property is not valid. + * @property {String} message Optional error message if property is not valid. * Default error message: "is not included in the list". * @property {Boolean} allowNull Whether null values are allowed. */ @@ -146,7 +146,7 @@ Validatable.validatesInclusionOf = getConfigurator('inclusion'); * @options {Object} Options * @property {Array} inArray Property must match one of the values in the array to be valid. * @property {String} message Optional error message if property is not valid. Default error message: "is reserved". - * @property {Boolean} allowNull Whether null values are allowed. + * @property {Boolean} allowNull Whether null values are allowed. */ Validatable.validatesExclusionOf = getConfigurator('exclusion'); @@ -160,7 +160,7 @@ Validatable.validatesExclusionOf = getConfigurator('exclusion'); * @options {Object} Options * @property {RegExp} with Regular expression to validate format. * @property {String} message Optional error message if property is not valid. Default error message: " is invalid". - * @property {Boolean} allowNull Whether null values are allowed. + * @property {Boolean} allowNull Whether null values are allowed. */ Validatable.validatesFormatOf = getConfigurator('format'); @@ -214,7 +214,7 @@ Validatable.validate = getConfigurator('custom'); * @param {Function} validatorFn Custom validation function. * @options {Object} Options See below * @property {String} message Optional error message if property is not valid. Default error message: " is invalid". - * @property {Boolean} allowNull Whether null values are allowed. + * @property {Boolean} allowNull Whether null values are allowed. */ Validatable.validateAsync = getConfigurator('custom', {async: true}); @@ -239,7 +239,7 @@ Validatable.validateAsync = getConfigurator('custom', {async: true}); * @property {RegExp} with Regular expression to validate format. * @property {Array.} scopedTo List of properties defining the scope. * @property {String} message Optional error message if property is not valid. Default error message: "is not unique". - * @property {Boolean} allowNull Whether null values are allowed. + * @property {Boolean} allowNull Whether null values are allowed. */ Validatable.validatesUniquenessOf = getConfigurator('uniqueness', {async: true});