Akryum / Akryum/vue-cli-plugin-ssr
ESLint reccomended `no-async-promise-executor` broken in example
Aperta
- Lingua principale
- JavaScript
- Stelle
- 441
- Fork
- 69
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
The rule `no-async-promise-executor` seems to be set in the recommended group in new versions of ESLint. This trips the following code in the example:
`entry-server.js`
```
return new Promise(async (resolve, reject) => {
const { app, router, apolloProvider } = await createApp({
ssr: true
});
```
I just disabled the rule in my project but I don't fully understand the implications of doing so, so if someone knows a way to fix this in the example I think that'd be great given that this is now a recommended rule.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.