Skip to content
Open

Lint #41

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
18 changes: 18 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"comment": "Rules for the style guide at http://www.cirosantilli.com/markdown-style-guide/",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

copy and paste error.


"default": true,
"MD003": false,
"MD006": false,
"MD007": false,
"MD009": false,
"MD010": false,
"MD012": false,
"MD013": false,
"MD025": false,
"MD029": {"style": "ordered"},
"MD033": false,
"MD038": false,
"dummy": false
}

16 changes: 16 additions & 0 deletions .mdlrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
rules "~MD003,~MD005,~MD006,~MD007,~MD009,~MD010,~MD012,~MD013,~MD025,~MD029,~MD033"

# MD003 Header style
# MD005 Inconsistent indentation for list items at the same level
# MD006 Consider starting bulleted lists at the beginning of the line
# MD007 Unordered list indentation
# MD009 Trailing spaces
# MD012 Multiple consecutive blank lines
# MD013 Line length
# MD025 Multiple top level headers in the same document
# MD029 Ordered list item prefix
# MD033 Inline HTML

rule 'MD007', :indent => 1
rule 'MD029', :style => :ordered

7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
language: ruby
install:
- gem install mdl
- npm install -g markdownlint-cli
script:
- mdl -c ./.mdlrc README.md
- markdownlint -c ./.markdownlint.json README.md
Loading