fix: resolve linting errors by adding missing JSDoc comments
This commit is contained in:
parent
d4e7d8da12
commit
f73170a274
@ -66,6 +66,12 @@ class Ingredient {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Validates the given value against the constraints of this ingredient.
|
||||||
|
*
|
||||||
|
* @param {*} val
|
||||||
|
* @returns {boolean}
|
||||||
|
*/
|
||||||
validate(val) {
|
validate(val) {
|
||||||
if (this.disabled) return true;
|
if (this.disabled) return true;
|
||||||
|
|
||||||
|
|||||||
@ -6,8 +6,14 @@
|
|||||||
|
|
||||||
import Operation from "../Operation.mjs";
|
import Operation from "../Operation.mjs";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Automated validation test operation
|
||||||
|
*/
|
||||||
class AutomatedValidationTestOp extends Operation {
|
class AutomatedValidationTestOp extends Operation {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* AutomatedValidationTestOp constructor
|
||||||
|
*/
|
||||||
constructor() {
|
constructor() {
|
||||||
super();
|
super();
|
||||||
|
|
||||||
@ -58,6 +64,11 @@ class AutomatedValidationTestOp extends Operation {
|
|||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param {string} input
|
||||||
|
* @param {Object[]} args
|
||||||
|
* @returns {string}
|
||||||
|
*/
|
||||||
run(input, args) {
|
run(input, args) {
|
||||||
return "Success";
|
return "Success";
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user