We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 985a651 commit 8391717Copy full SHA for 8391717
1 file changed
lib/validationSchema.js
@@ -9,7 +9,7 @@ var ajv = new Ajv({
9
verbose: true
10
});
11
12
-function validateWebpackOptions(schema, options) {
+function validationSchema(schema, options) {
13
if(Array.isArray(options)) {
14
var errors = options.map(validateObject.bind(this, schema));
15
errors.forEach(function(list, idx) {
@@ -59,4 +59,4 @@ function filterErrors(errors) {
59
return newErrors;
60
}
61
62
-module.exports = validateWebpackOptions;
+module.exports = validationSchema;
0 commit comments