1
Fork 0

Add spectral linter for Swagger (#20321)

[spectral](https://github.com/stoplightio/spectral) lints
openapi/swagger files for mistakes of which it has identified a few and
which I've fixed.

I had to put it into `lint-frontend` because it depends on node_modules
so can not run on Drone during the backend target. I plan to refactor
these targets later to `lint-js` and `lint-go` so that they are
categorized based on the tool dependencies.
This commit is contained in:
silverwind 2022-07-12 01:07:16 +02:00 committed by GitHub
parent 8a7d1a3516
commit c8e0fd0bcc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 2904 additions and 101 deletions

View file

@ -45,6 +45,7 @@
},
"devDependencies": {
"@happy-dom/jest-environment": "4.0.1",
"@stoplight/spectral-cli": "6.4.1",
"eslint": "8.15.0",
"eslint-plugin-html": "6.2.0",
"eslint-plugin-import": "2.26.0",