mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
DEV: enforces eslint’s curly rule to the codebase (#10720)
eslint --fix is capable of fix it automatically for you, ensure prettier is run after eslint as eslint --fix could leave the code in an invalid prettier state.
This commit is contained in:
parent
c86538097d
commit
530d9ab071
179 changed files with 1246 additions and 434 deletions
|
@ -57,7 +57,8 @@ export default {
|
|||
|
||||
initialize(container) {
|
||||
const siteSettings = container.lookup("site-settings:main");
|
||||
if (siteSettings.discourse_narrative_bot_enabled)
|
||||
if (siteSettings.discourse_narrative_bot_enabled) {
|
||||
withPluginApi("0.8.7", initialize);
|
||||
}
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue