Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore changelog folder in markdown linting #777

Merged
merged 1 commit into from
Nov 20, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions build/azure-devops/scraper-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,20 +77,20 @@ stages:
solutionOrProjectPath: 'src/Promitor.sln'
failBuildLevelSelector: 'Warning'
commandLineInterfacePath: '$(Build.SourcesDirectory)/Lib/Resharper'
# - stage: Docs
# displayName: Docs
# dependsOn: []
# jobs:
# - job: RunMarkdownLinter
# displayName: Run Markdown Linter
# condition: succeeded()
# pool:
# vmImage: ubuntu-16.04
# steps:
# - script: npm install
# displayName: 'Install npm Packages'
# - script: npm run --silent markdownlint
# displayName: 'Run markdownlint'
- stage: Docs
displayName: Docs
dependsOn: []
jobs:
- job: RunMarkdownLinter
displayName: Run Markdown Linter
condition: succeeded()
pool:
vmImage: ubuntu-16.04
steps:
- script: npm install
displayName: 'Install npm Packages'
- script: npm run --silent markdownlint
displayName: 'Run markdownlint'
- stage: Test
displayName: Run Tests
dependsOn: []
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"markdownlint": "markdownlint -c .markdownlint.json --ignore node_modules ."
"markdownlint": "markdownlint -c .markdownlint.json --ignore node_modules --ignore changelog ."
},
"repository": {
"type": "git",
Expand Down