Commit d2ec2bf
committed
Use project version of ajv-cli in validation tasks
The "ajv-cli" command line tool is used for validating data files against their JSON schema. The tool is used to
validate the project's Dependabot and ESLint configuration files.
In general, it is preferable (and for some schemas even mandatory) to use the modern versions of ajv-cli. However,
support for the "Draft-04" schema specification was dropped in ajv-cli version 4.0.0. So when working with JSON schemas
that specify that draft, it is necessary to use ajv-cli 3.3.0, the last compatible version.
Previously, the Dependabot and ESLint schema specified the "Draft-04" specification. For this reason, the
`dependabot:validate` and `eslint:validate` tasks were configured to use [email protected].
The schemas have now been updated to use "Draft-07". So the code for using [email protected] is removed from these tasks,
and they will now use the standard project level version of ajv-cli.1 parent ce81472 commit d2ec2bf
1 file changed
+31
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
357 | 357 | | |
358 | 358 | | |
359 | 359 | | |
| 360 | + | |
| 361 | + | |
360 | 362 | | |
361 | 363 | | |
362 | 364 | | |
| |||
370 | 372 | | |
371 | 373 | | |
372 | 374 | | |
373 | | - | |
374 | | - | |
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
378 | 378 | | |
379 | | - | |
380 | | - | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | | - | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
385 | 388 | | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
392 | 398 | | |
393 | 399 | | |
394 | 400 | | |
| |||
397 | 403 | | |
398 | 404 | | |
399 | 405 | | |
| 406 | + | |
| 407 | + | |
400 | 408 | | |
401 | 409 | | |
402 | 410 | | |
| |||
409 | 417 | | |
410 | 418 | | |
411 | 419 | | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | 420 | | |
417 | 421 | | |
418 | 422 | | |
419 | 423 | | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
426 | 433 | | |
427 | 434 | | |
428 | 435 | | |
| |||
0 commit comments