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/04/03 01:27:49 UTC

[incubator-annotator] 02/03: Set browser environment for dom package linting

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

commit 031a077f87ce9d711b3f071551d2741dec8a9a4c
Author: Randall Leeds <ra...@apache.org>
AuthorDate: Thu Apr 2 18:26:52 2020 -0700

    Set browser environment for dom package linting
---
 .eslintrc.js | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.eslintrc.js b/.eslintrc.js
index 9ba0ef7..51592fb 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -106,5 +106,11 @@ module.exports = {
         'import/no-relative-parent-imports': 'off',
       },
     },
+    {
+      files: ['packages/dom/{src,test}/**/*.js'],
+      env: {
+        browser: true,
+      },
+    },
   ],
 };