mirror of
https://github.com/discourse/discourse.git
synced 2025-06-18 12:42:35 +08:00
DEV: fixes eslint/prettier on github actions (#10601)
This commit is contained in:
@ -7,13 +7,13 @@ const defaultOpts = buildOptions({
|
||||
enable_emoji: true,
|
||||
emoji_set: "emoji_one",
|
||||
highlighted_languages: "json|ruby|javascript",
|
||||
default_code_lang: "auto"
|
||||
default_code_lang: "auto",
|
||||
},
|
||||
censoredWords: "shucks|whiz|whizzer",
|
||||
getURL: url => url
|
||||
getURL: (url) => url,
|
||||
});
|
||||
|
||||
test("details", assert => {
|
||||
test("details", (assert) => {
|
||||
const cooked = (input, expected, text) => {
|
||||
assert.equal(
|
||||
new PrettyText(defaultOpts).cook(input),
|
||||
|
Reference in New Issue
Block a user