Handle pretty-quick issue (#3169)

- Replace pretty-quick by lint-staged (to fix:
<https://github.com/azz/pretty-quick/issues/164>)
- Update prettier dependencies
- Handle prettier issues
This commit is contained in:
Kristjan ESPERANTO
2023-08-16 14:21:02 +02:00
committed by GitHub
parent 59e9d765e2
commit 7dcea98e99
8 changed files with 1860 additions and 402 deletions

View File

@@ -65,9 +65,12 @@ module.exports = NodeHelper.create({
scheduleNextFetch(delay) {
clearTimeout(this.updateTimer);
this.updateTimer = setTimeout(() => {
this.performFetch();
}, Math.max(delay, ONE_MINUTE));
this.updateTimer = setTimeout(
() => {
this.performFetch();
},
Math.max(delay, ONE_MINUTE)
);
},
ignoreUpdateChecking(moduleName) {