Skip to content

Commit cbc01cb

Browse files
committed
add eslint linter for json
1 parent 121ab5f commit cbc01cb

File tree

3 files changed

+1732
-0
lines changed

3 files changed

+1732
-0
lines changed

.github/workflows/linter.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ jobs:
2020
yamllint_strict: false
2121
yamllint_config_filepath: '.github/workflows/yamllint-config.yml'
2222
yamllint_comment: true
23+
- uses: actions/setup-node@v3
24+
with:
25+
node-version: '16'
26+
run: npm install
27+
- name: JSON Lint
28+
run: eslint descriptions/**/*.json --ext .json
2329
- name: OpenAPI Lint
2430
uses: mattpage/redocly-cli-lint-action@v0.0.1
2531
with:

0 commit comments

Comments
 (0)