From 0c6aad8d28d9398dc36c70149e221f3af62203cc Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sat, 13 Apr 2024 09:04:18 +0200 Subject: Replace Go script with Node.js implementation --- eslint.config.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'eslint.config.js') diff --git a/eslint.config.js b/eslint.config.js index 054bd46..93ee895 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -112,5 +112,19 @@ module.exports = [ ...globals.node } } + }, + { + files: ['netlify-preview.js'], + rules: { + // allow use of console + 'no-console': 'off' + }, + languageOptions: { + 'sourceType': 'commonjs', + globals: { + // Browser global variables + ...globals.node + } + } } ]; -- cgit v1.2.3