Skip to content

Commit

Permalink
chore: replace remark-lint config with @whizark/remark-preset
Browse files Browse the repository at this point in the history
  • Loading branch information
whizark committed Oct 23, 2016
1 parent e04cf41 commit 7343259
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 80 deletions.
77 changes: 3 additions & 74 deletions .remarkrc
@@ -1,76 +1,5 @@
{
"output" : false,
"settings": {
"breaks" : false,
"commonmark": false,
"footnotes" : false,
"gfm" : true,
"pedantic" : false,
"position" : true,
"yaml" : false
},
"plugins" : {
"lint": {
"externals" : [],
"reset" : false,
"blockquote-indentation" : "consistent",
"checkbox-character-style" : "consistent",
"checkbox-content-indent" : true,
"code-block-style" : "consistent",
"definition-case" : true,
"definition-spacing" : true,
"emphasis-marker" : "consistent",
"fenced-code-flag" : {
"allowEmpty": false
},
"fenced-code-marker" : "consistent",
"file-extension" : "md",
"final-definition" : true,
"final-newline" : true,
"first-heading-level" : 1,
"hard-break-spaces" : true,
"heading-increment" : true,
"heading-style" : "consistent",
"link-title-style" : "consistent",
"list-item-bullet-indent" : true,
"list-item-content-indent" : true,
"list-item-indent" : "tab-size",
"list-item-spacing" : true,
"maximum-heading-length" : 60,
"maximum-line-length" : 80,
"no-auto-link-without-protocol" : true,
"no-blockquote-without-caret" : true,
"no-consecutive-blank-lines" : true,
"no-duplicate-definitions" : true,
"no-duplicate-headings" : true,
"no-emphasis-as-heading" : true,
"no-file-name-articles" : true,
"no-file-name-consecutive-dashes" : true,
"no-file-name-irregular-characters": "\\.a-zA-Z0-9-",
"no-file-name-mixed-case" : true,
"no-file-name-outer-dashes" : true,
"no-heading-content-indent" : true,
"no-heading-indent" : true,
"no-heading-punctuation" : "\\.,;:!?",
"no-html" : true,
"no-inline-padding" : true,
"no-literal-urls" : true,
"no-missing-blank-lines" : true,
"no-multiple-toplevel-headings" : 1,
"no-shell-dollars" : true,
"no-shortcut-reference-link" : true,
"no-table-indentation" : true,
"no-tabs" : true,
"no-undefined-references" : true,
"no-unused-definitions" : true,
"ordered-list-marker-style" : "consistent",
"ordered-list-marker-value" : "ordered",
"rule-style" : "consistent",
"strong-marker" : "consistent",
"table-cell-padding" : "consistent",
"table-pipe-alignment" : true,
"table-pipes" : true,
"unordered-list-marker-style" : "consistent"
}
}
"presets": [
"@whizark/remark-preset/preset/lint.js"
]
}
13 changes: 7 additions & 6 deletions package.json
Expand Up @@ -9,12 +9,13 @@
"lint-travis": "remark -f README.md"
},
"devDependencies": {
"gulp" : "^3.9.1",
"gulp-filter" : "^4.0.0",
"gulp-replace": "^0.5.4",
"remark-cli" : "^2.0.0",
"remark-lint" : "^5.1.0",
"semver" : "^5.3.0"
"gulp" : "^3.9.1",
"gulp-filter" : "^4.0.0",
"gulp-replace" : "^0.5.4",
"remark-cli" : "^2.0.0",
"remark-lint" : "^5.1.0",
"semver" : "^5.3.0",
"@whizark/remark-preset": "~0.2.0"
},
"private" : true
}

0 comments on commit 7343259

Please sign in to comment.