Skip to content

Commit

Permalink
api: Change linting severity level.
Browse files Browse the repository at this point in the history
Updated the linting command in package.json to fail on warning severity
level. This change will ensure stricter code quality checks.

Issue: #200

Signed-off-by: Nikolay Martyanov <[email protected]>
  • Loading branch information
OhmSpectator committed Jan 5, 2024
1 parent 37b41bf commit 7f4868d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"@stoplight/spectral-cli": "^6.11.0"
},
"scripts": {
"lint": "spectral lint api.yaml"
"lint": "spectral lint api.yaml --fail-severity warn"
}
}

0 comments on commit 7f4868d

Please sign in to comment.