From f015947cca1f035cb99fe7b0c916c320ae68dc01 Mon Sep 17 00:00:00 2001 From: Joachim Bauch Date: Mon, 22 Nov 2021 15:09:19 +0100 Subject: [PATCH] eslint: Flag as environment "node". --- webpack.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/webpack.js b/webpack.js index b9ce697..6d264d6 100644 --- a/webpack.js +++ b/webpack.js @@ -1,4 +1,5 @@ -const path = require('path') +/* eslint-env node */ +const path = require('path'); const CopyPlugin = require("copy-webpack-plugin"); const TerserPlugin = require('terser-webpack-plugin'); @@ -33,4 +34,4 @@ module.exports = { ], }), ], -} +};