summaryrefslogtreecommitdiffstats
path: root/remote/test/puppeteer/test/.eslintrc.js
diff options
context:
space:
mode:
Diffstat (limited to 'remote/test/puppeteer/test/.eslintrc.js')
-rw-r--r--remote/test/puppeteer/test/.eslintrc.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/remote/test/puppeteer/test/.eslintrc.js b/remote/test/puppeteer/test/.eslintrc.js
new file mode 100644
index 0000000000..9d86da20e1
--- /dev/null
+++ b/remote/test/puppeteer/test/.eslintrc.js
@@ -0,0 +1,13 @@
+module.exports = {
+ rules: {
+ 'no-restricted-imports': [
+ 'error',
+ {
+ /** The mocha tests run on the compiled output in the /lib directory
+ * so we should avoid importing from src.
+ */
+ patterns: ['*src*'],
+ },
+ ],
+ },
+};