diff options
author | Matthew Page <mattpage@github.com> | 2022-04-14 16:01:09 -0700 |
---|---|---|
committer | Matthew Page <mattpage@github.com> | 2022-04-14 16:01:09 -0700 |
commit | cbc01cb554dd2d8cf8e83ee809cc073150dadc2b (patch) | |
tree | 0d96180628948f185f6a4c6bd1207d07c83efbb6 /.github | |
parent | 121ab5faa51464265fc5423f0cab488ee1b12331 (diff) | |
download | rest-api-description-cbc01cb554dd2d8cf8e83ee809cc073150dadc2b.tar.gz rest-api-description-cbc01cb554dd2d8cf8e83ee809cc073150dadc2b.zip |
add eslint linter for json
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/linter.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 045395cd6..b56176255 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -20,6 +20,12 @@ jobs: yamllint_strict: false yamllint_config_filepath: '.github/workflows/yamllint-config.yml' yamllint_comment: true + - uses: actions/setup-node@v3 + with: + node-version: '16' + run: npm install + - name: JSON Lint + run: eslint descriptions/**/*.json --ext .json - name: OpenAPI Lint uses: mattpage/redocly-cli-lint-action@v0.0.1 with: |