diff --git a/.eslintrc b/.eslintrc index 4a05d00ce..7be8629f3 100644 --- a/.eslintrc +++ b/.eslintrc @@ -22,7 +22,6 @@ "browser": true, "es2022": true, "worker": true, - "amd": true, }, "globals": { diff --git a/src/pdf.worker.entry.js b/src/pdf.worker.entry.js index e9709b4b5..c717a1418 100644 --- a/src/pdf.worker.entry.js +++ b/src/pdf.worker.entry.js @@ -12,6 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +/* globals require:readonly */ /* eslint-disable import/no-commonjs */ (typeof window !== "undefined"