Akryum / Akryum/vue-cli-plugin-ssr

ESLint reccomended `no-async-promise-executor` broken in example

オープン
#178 コメント 1 件 リアクション 10 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
441
フォーク
69
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。