Skip to content
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
8 changes: 8 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,21 @@ jobs:
name: Install dependencies
command: |
gem install mdl
- run:
shell: /bin/bash #this is a non breaking command so it will always return success
name: Run Markdownlint info checks
command: |
mdl --ignore-front-matter --style ./CI/markdownlint/info_style.rb . | tee ./markdownlint_info.out
- run:
name: Run Markdownlint
command: |
mdl --ignore-front-matter --style ./CI/markdownlint/style.rb . | tee ./markdownlint.out
- store_artifacts:
path: ./markdownlint.out
destination: ./markdownlint.out
- store_artifacts:
path: ./markdownlint_info.out
destination: ./markdownlint_info.out

workflows:
version: 2
Expand Down
1 change: 1 addition & 0 deletions CI/markdownlint/info_style.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rule 'line-length', :line_length=>100, :code_blocks=>false, :tables=> false
2 changes: 1 addition & 1 deletion CI/markdownlint/style.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
all

rule "no-duplicate-header", :allow_different_nesting => true
rule 'line-length', :line_length=>100, :code_blocks=>false, :tables=> false
rule 'no-trailing-punctuation', :punctuation=>'.,;:!'

exclude_rule 'no-bare-urls'
exclude_rule 'code-block-style'
exclude_rule 'line-length'