Akryum / Akryum/vue-cli-plugin-ssr
ESLint reccomended `no-async-promise-executor` broken in example
Offen
- Vorherrschende Sprache
- JavaScript
- Sterne
- 441
- Forks
- 69
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.