2
1
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2023-12-13 21:00:40 +01:00
Ghost/ghost/admin/.lint-todorc.js
Kevin Ansfield 26741b701a Reset linter warnings with longer decay times
refs https://github.com/TryGhost/Ghost/issues/14101

- we have ~1000 linter warnings from historic code that is awaiting transforms as part of the Ember Octane migration
- the warning delay time of 30 days is too short, we keep hitting it because work on the migration has stalled
- keeping the linting errors in place is useful because the rules are useful for new code and the todo file helps track migration progress
- increased the ignore->warn decay time to 120 days, with a warn->fail time of 60 days after that giving us some time to clear up any remaining issues or add them back to the ignore list before builds start failing
2022-05-09 12:57:19 +01:00

8 lines
127 B
JavaScript

module.exports = {
'ember-template-lint': {
daysToDecay: {
warn: 120,
error: 180,
}
}
};