Skip to content

Commit d6100ce

Browse files
committed
MarkdownBear: Rename remark_configs_settings
Rename to `remark_configs` so it becomes easier to distinguish from `remark_lint_configs`.
1 parent 71f6bc5 commit d6100ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bears/markdown/MarkdownBear.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def create_arguments(filename, file, config_file,
112112
:param check_links:
113113
Checks if links to headings and files in markdown are valid.
114114
"""
115-
remark_configs_settings = {
115+
remark_configs = {
116116
'bullet': bullets, # - or *
117117
'closeAtx': closed_headings, # Bool
118118
'setext': setext_headings, # Bool
@@ -135,7 +135,7 @@ def create_arguments(filename, file, config_file,
135135
if max_line_length:
136136
remark_lint_configs['maximumLineLength'] = max_line_length
137137

138-
config_json = json.dumps(remark_configs_settings)
138+
config_json = json.dumps(remark_configs)
139139
# Remove { and } as remark adds them on its own
140140
settings = config_json[1:-1]
141141

0 commit comments

Comments
 (0)