mirror of https://github.com/zulip/zulip.git
lint: Run whitespace linter against .yml files.
Lint now checks for .yml files with whitespace_rules.
This commit is contained in:
parent
6c1f1e12fe
commit
0c821424cd
|
@ -47,7 +47,7 @@ def run():
|
|||
linter_config = LinterConfig(args)
|
||||
|
||||
by_lang = linter_config.list_files(groups={
|
||||
'backend': ['py', 'sh', 'pp', 'json', 'md', 'txt', 'text', 'yaml', 'rst'],
|
||||
'backend': ['py', 'sh', 'pp', 'json', 'md', 'txt', 'text', 'yaml', 'rst', 'yml'],
|
||||
'frontend': ['js', 'ts', 'css', 'scss', 'hbs', 'html', 'lock'],
|
||||
}, exclude=EXCLUDED_FILES)
|
||||
|
||||
|
|
|
@ -838,7 +838,7 @@ help_markdown_rules = RuleList(
|
|||
)
|
||||
|
||||
txt_rules = RuleList(
|
||||
langs=['txt', 'text', 'yaml', 'rst'],
|
||||
langs=['txt', 'text', 'yaml', 'rst', 'yml'],
|
||||
rules=whitespace_rules,
|
||||
)
|
||||
non_py_rules = [
|
||||
|
|
Loading…
Reference in New Issue