File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 run : npm install -g ajv-cli # Package page: <https://www.npmjs.com/package/ajv-cli>
2525
2626 - name : Run linter
27- run : ajv validate --all-errors --verbose -s ./schemas/config/3.0.schema.json -d ./.rr.yaml
27+ run : ajv validate --all-errors --verbose -s ./schemas/config/3.0.schema.json --spec=draft2019 - d ./.rr.yaml
2828
2929 golangci-lint :
3030 name : Golang-CI (lint)
Original file line number Diff line number Diff line change @@ -7,9 +7,10 @@ This directory contains public schemas for the most important parts of applicati
77- You can validate existing config file using the following command:
88
99 ``` bash
10- docker run --rm -v " $( pwd) :/src" -w " /src" node:14 -alpine sh -c \
10+ docker run --rm -v " $( pwd) :/src" -w " /src" node:20 -alpine sh -c \
1111 " npm install -g ajv-cli && \
1212 ajv validate --all-errors --verbose \
1313 -s ./schemas/config/3.0.schema.json \
14+ --spec=draft2019 \
1415 -d ./.rr*.y*ml"
1516 ```
You can’t perform that action at this time.
0 commit comments