Skip to content

Commit

Permalink
MarkdownBear: Rename remark_configs_settings
Browse files Browse the repository at this point in the history
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 d6100ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bears/markdown/MarkdownBear.py
Expand Up @@ -112,7 +112,7 @@ def create_arguments(filename, file, config_file,
:param check_links: :param check_links:
Checks if links to headings and files in markdown are valid. Checks if links to headings and files in markdown are valid.
""" """
remark_configs_settings = { remark_configs = {
'bullet': bullets, # - or * 'bullet': bullets, # - or *
'closeAtx': closed_headings, # Bool 'closeAtx': closed_headings, # Bool
'setext': setext_headings, # Bool 'setext': setext_headings, # Bool
Expand All @@ -135,7 +135,7 @@ def create_arguments(filename, file, config_file,
if max_line_length: if max_line_length:
remark_lint_configs['maximumLineLength'] = 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 # Remove { and } as remark adds them on its own
settings = config_json[1:-1] settings = config_json[1:-1]


Expand Down

0 comments on commit d6100ce

Please sign in to comment.