mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
tests: Rename the Node tests to *.cjs.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
30eabb9d6c
commit
687f1b1651
@@ -207,7 +207,7 @@ js_rules = RuleList(
|
||||
"exclude_pattern": r"(const |\S)style ?=",
|
||||
"description": "Avoid using the `style=` attribute; we prefer styling in CSS files",
|
||||
"exclude": {
|
||||
"web/tests/copy_and_paste.test.js",
|
||||
"web/tests/copy_and_paste.test.cjs",
|
||||
},
|
||||
"good_lines": ["#my-style {color: blue;}", "const style =", 'some_style = "test"'],
|
||||
"bad_lines": ['<p style="color: blue;">Foo</p>', 'style = "color: blue;"'],
|
||||
|
||||
Reference in New Issue
Block a user