]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: disallow async/await usage in src
authorEvan You <yyx990803@gmail.com>
Fri, 2 Jul 2021 12:11:30 +0000 (08:11 -0400)
committerEvan You <yyx990803@gmail.com>
Fri, 2 Jul 2021 12:11:30 +0000 (08:11 -0400)
.eslintrc.js

index fc169abef813d8fba7b165542037ad57652a66a4..88034d237940b235e9a2b6a6087c59e053b355b1 100644 (file)
@@ -20,7 +20,8 @@ module.exports = {
     'no-restricted-syntax': [
       'error',
       'ObjectExpression > SpreadElement',
-      'ObjectPattern > RestElement'
+      'ObjectPattern > RestElement',
+      'AwaitExpression'
     ]
   },
   overrides: [