Skip to content

Commit af2b158

Browse files
committed
fixed.
1 parent e67ef38 commit af2b158

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.eslintrc.cjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,8 @@ require('eslint-config-etherpad/patch/modern-module-resolution');
55

66
module.exports = {
77
root: true,
8+
rules:{
9+
'no-extraneous-require': 'off', // Turn off the rule here
10+
},
811
extends: 'etherpad/plugin',
912
};

static/tests/backend/specs/test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
'use strict';
22

3+
/* eslint n/no-extraneous-require: off */
34
const common = require('ep_etherpad-lite/tests/backend/common');
45
const etherpad = require('../../../../index');
56

0 commit comments

Comments
 (0)