Merge pull request #1123 from strongloop/superkhau/fix-linting-errors

Fix linting errors
This commit is contained in:
Simon Ho 2016-09-29 20:19:08 -07:00 committed by GitHub
commit 99a864e9c6
1 changed files with 5 additions and 5 deletions

View File

@ -131,7 +131,7 @@ Validatable.validatesNumericalityOf = getConfigurator('numericality');
* @param {String} propertyName Property name to validate. * @param {String} propertyName Property name to validate.
* @options {Object} Options See below * @options {Object} Options See below
* @property {Array} inArray Property must match one of the values in the array to be valid. * @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". * Default error message: "is not included in the list".
* @property {Boolean} allowNull Whether null values are allowed. * @property {Boolean} allowNull Whether null values are allowed.
*/ */
@ -146,7 +146,7 @@ Validatable.validatesInclusionOf = getConfigurator('inclusion');
* @options {Object} Options * @options {Object} Options
* @property {Array} inArray Property must match one of the values in the array to be valid. * @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 {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'); Validatable.validatesExclusionOf = getConfigurator('exclusion');
@ -160,7 +160,7 @@ Validatable.validatesExclusionOf = getConfigurator('exclusion');
* @options {Object} Options * @options {Object} Options
* @property {RegExp} with Regular expression to validate format. * @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 {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'); Validatable.validatesFormatOf = getConfigurator('format');
@ -214,7 +214,7 @@ Validatable.validate = getConfigurator('custom');
* @param {Function} validatorFn Custom validation function. * @param {Function} validatorFn Custom validation function.
* @options {Object} Options See below * @options {Object} Options See below
* @property {String} message Optional error message if property is not valid. Default error message: " is invalid". * @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}); 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 {RegExp} with Regular expression to validate format.
* @property {Array.<String>} scopedTo List of properties defining the scope. * @property {Array.<String>} 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 {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}); Validatable.validatesUniquenessOf = getConfigurator('uniqueness', {async: true});