mirror of
https://github.com/httpie/cli.git
synced 2024-11-25 01:03:27 +01:00
c815e21ef9
* Show the actual time elapsed; add docs * `requests.Response._headers_parsed_at` → `requests.Response._httpie_headers_parsed_at` * Add `ELAPSED_TIME_LABEL` constant * Tweak docs * Tweak docs * Allow multiple blank lines in Markdown files * Add rudimentary tests for --meta with different --style’s * Cleanup tests * Cleanup tests * Cleanup tests
48 lines
1.0 KiB
Ruby
48 lines
1.0 KiB
Ruby
# Rules for <https://github.com/markdownlint/markdownlint>
|
|
|
|
# Load all rules by default
|
|
all
|
|
|
|
#
|
|
# Tweak rules
|
|
#
|
|
|
|
# MD002 First header should be a top level header
|
|
# Because we use HTML to hide them on the website.
|
|
exclude_rule 'MD002'
|
|
|
|
# MD013 Line length
|
|
exclude_rule 'MD013'
|
|
|
|
# MD014 Dollar signs used before commands without showing output
|
|
exclude_rule 'MD014'
|
|
|
|
# MD028 Blank line inside blockquote
|
|
exclude_rule 'MD028'
|
|
|
|
# MD012 Multiple consecutive blank lines
|
|
exclude_rule 'MD012'
|
|
|
|
# Tell the linter to use ordered lists:
|
|
# 1. Foo
|
|
# 2. Bar
|
|
# 3. Baz
|
|
#
|
|
# Instead of:
|
|
# 1. Foo
|
|
# 1. Bar
|
|
# 1. Baz
|
|
rule 'MD029', :style => :ordered
|
|
|
|
# MD033 Inline HTML
|
|
# TODO: Tweak elements when https://github.com/markdownlint/markdownlint/issues/118 will be done?
|
|
exclude_rule 'MD033'
|
|
|
|
# MD034 Bare URL used
|
|
# TODO: Remove when https://github.com/markdownlint/markdownlint/issues/328 will be fixed.
|
|
exclude_rule 'MD034'
|
|
|
|
# MD041 First line in file should be a top level header
|
|
# Because we use HTML to hide them on the website.
|
|
exclude_rule 'MD041'
|