0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/core
Sam Lord a21b91cc71 Added lint rules for migrations
refs: https://github.com/TryGhost/Toolbox/issues/105

Lint rules prevent:

* Invalid naming conventions for new migrations
* Loop constructs in migrations - these should be used with caution
and are therefore a warning rule, use `// eslint-disable-next-line
no-restricted-syntax` to prevent this rule from firing where a loop is
required
* Returing within a loop - this is usually meant to be a
continue/break
* Multiple joins - these can be badly performing migrations, so should
be treated with caution, disable the rule for the line if the risk is
understood / the migration cannot be written without it
2021-11-29 16:21:43 +00:00
..
client@5648dd6105 Updated Admin to v4.24.0 2021-11-26 16:00:26 +00:00
frontend Fixed the selector for toggle headings 2021-11-25 09:07:47 +01:00
server Added lint rules for migrations 2021-11-29 16:21:43 +00:00
shared Added quoteStyles labs flag 2021-11-24 16:33:47 +00:00
app.js Merged our two maintenance middleware into one 2021-11-24 11:27:18 +00:00
boot.js Moved custom redirects initialization to frontend init secton 2021-11-26 06:18:36 +13:00
bridge.js Added missing async/await calls 2021-11-23 17:24:50 +00:00