This is the repo for the source code of the Spectral Lint Task in the Visual Studio Marketplace.
Currently there is only a version 0
, that has been minimally tested.
cd tasks/SpectralLintTaskV0
$env:INPUT_ruleset=".spectral/demo-ruleset.yaml"
$env:INPUT_definition=".spectral/demo-definition-warn.json"
$env:INPUT_failSeverity="error"
$env:INPUT_outputFilePath=".spectral/demo-lint-report.json"
$env:INPUT_outputFormat="json"
tsc
node index.js
- Update the version numbers at vss-extension.json and task.json.
- Create the extension file:
tfx extension create --manifest-globs vss-extension.json --output-path releases
Follows tips from: https://www.paraesthesia.com/archive/2020/02/25/tips-for-custom-azure-devops-build-tasks/
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.