Permalink
Browse files

MarkdownBear: Rename `remark_configs_settings`

Rename to `remark_configs` so it becomes easier to distinguish
from `remark_lint_configs`.
  • Loading branch information...
yash-nisar committed Jul 18, 2017
1 parent 71f6bc5 commit d6100ce9c519ad7c314a4323f24e9aa2832aefc9
Showing with 2 additions and 2 deletions.
  1. +2 −2 bears/markdown/MarkdownBear.py
@@ -112,7 +112,7 @@ def create_arguments(filename, file, config_file,
:param check_links:
Checks if links to headings and files in markdown are valid.
"""
remark_configs_settings = {
remark_configs = {
'bullet': bullets, # - or *
'closeAtx': closed_headings, # Bool
'setext': setext_headings, # Bool
@@ -135,7 +135,7 @@ def create_arguments(filename, file, config_file,
if max_line_length:
remark_lint_configs['maximumLineLength'] = max_line_length
config_json = json.dumps(remark_configs_settings)
config_json = json.dumps(remark_configs)
# Remove { and } as remark adds them on its own
settings = config_json[1:-1]

0 comments on commit d6100ce

Please sign in to comment.