mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 00:38:04 +08:00
DEV: Update linting setup and fix issues (#17345)
Re-lands #16119 and #17298 * Update eslint-config-discourse * Update linting workflow * Prettier-ignore stuff * Update template-lint config * Auto-fix template issues * Fix various template issues Mostly incorrect attributes and unused templates * Prettier js files * Fix template auto-fix regressions * Small css tweak Co-authored-by: Peter Wagenet <peter.wagenet@gmail.com>
This commit is contained in:
@ -3,8 +3,8 @@ __buildOptions = require("pretty-text/pretty-text").buildOptions;
|
||||
__performEmojiUnescape = require("pretty-text/emoji").performEmojiUnescape;
|
||||
__emojiReplacementRegex = require("pretty-text/emoji").emojiReplacementRegex;
|
||||
__performEmojiEscape = require("pretty-text/emoji").performEmojiEscape;
|
||||
__resetTranslationTree = require("pretty-text/engines/discourse-markdown/emoji")
|
||||
.resetTranslationTree;
|
||||
__resetTranslationTree =
|
||||
require("pretty-text/engines/discourse-markdown/emoji").resetTranslationTree;
|
||||
|
||||
I18n = {
|
||||
t(a, b) {
|
||||
|
Reference in New Issue
Block a user