From da8104aa6647027928c078079661278498c67802 Mon Sep 17 00:00:00 2001 From: shoonia Date: Mon, 23 Dec 2024 17:28:15 +0200 Subject: [PATCH] Fix lint --- eslint.config.js | 7 +++++++ webpack.config.js | 1 - 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/eslint.config.js b/eslint.config.js index 42e9464..d039d27 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -6,6 +6,13 @@ export default ts.config( ignores: [ 'dist', ], + languageOptions: { + ecmaVersion: 2024, + sourceType: 'module', + globals: { + process: 'readonly', + }, + }, }, js.configs.recommended, ...ts.configs.recommended, diff --git a/webpack.config.js b/webpack.config.js index 5ba91da..76f131e 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,4 +1,3 @@ -/* eslint-env node */ import { resolve } from 'node:path'; import { realpathSync } from 'node:fs'; import webpack from 'webpack';