0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

Upgraded api max complixity eslint rule to error

- We've now squashed all the warnings, upgrade to error to prevent regressions
This commit is contained in:
Hannah Wolfe 2021-10-25 14:36:12 +01:00
parent 960828b646
commit 5327eb4b4b
No known key found for this signature in database
GPG key ID: 9F8C7532D0A6BA55

View file

@ -19,7 +19,7 @@ module.exports = {
{
files: 'core/server/api/canary/*',
rules: {
'ghost/ghost-custom/max-api-complexity': 'warn'
'ghost/ghost-custom/max-api-complexity': 'error'
}
},
{