You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@annotator.apache.org by ra...@apache.org on 2020/08/23 03:34:19 UTC

[incubator-annotator] branch master updated: Turn off the @typescript-eslint/require-await lint rule

This is an automated email from the ASF dual-hosted git repository.

randall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git


The following commit(s) were added to refs/heads/master by this push:
     new 0121bd2  Turn off the @typescript-eslint/require-await lint rule
0121bd2 is described below

commit 0121bd274d0d1f1e92b4bc09705e10a646586cc2
Author: Randall Leeds <ra...@apache.org>
AuthorDate: Sat Aug 22 20:33:09 2020 -0700

    Turn off the @typescript-eslint/require-await lint rule
    
    Maintaining an asynchronous public API is a choice even when the
    internal implementation is synchronous.
---
 .eslintrc.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.eslintrc.js b/.eslintrc.js
index 8672372..2dd3ce1 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -110,6 +110,7 @@ module.exports = {
           'error',
           { argsIgnorePattern: '^_' },
         ],
+        '@typescript-eslint/require-await': 'off',
       },
     },
     {