From c462d7cb2b3cec10aa808fcad441afba86177e50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Mon, 22 Apr 2024 17:16:33 +0200 Subject: [PATCH 1/4] Fix eslint config --- .eslintrc.json | 6 ------ eslint.config.js | 8 ++++++++ 2 files changed, 8 insertions(+), 6 deletions(-) delete mode 100644 .eslintrc.json create mode 100644 eslint.config.js diff --git a/.eslintrc.json b/.eslintrc.json deleted file mode 100644 index 70a911f..0000000 --- a/.eslintrc.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "parserOptions": { - "ecmaVersion": 2015, - "sourceType": "script" - } -} diff --git a/eslint.config.js b/eslint.config.js new file mode 100644 index 0000000..5138330 --- /dev/null +++ b/eslint.config.js @@ -0,0 +1,8 @@ +export default [ + { + "parserOptions": { + "ecmaVersion": 2015, + "sourceType": "script" + } + } +] From a72a49efa4779f1c9a439561eef45b3b7c4c0a76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Mon, 22 Apr 2024 17:18:29 +0200 Subject: [PATCH 2/4] Update eslint.config.js --- eslint.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eslint.config.js b/eslint.config.js index 5138330..c9f646d 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,4 +1,4 @@ -export default [ +module.exports = [ { "parserOptions": { "ecmaVersion": 2015, From 80846a42532344e415e8e1d8659590441c3c5843 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Mon, 22 Apr 2024 17:21:46 +0200 Subject: [PATCH 3/4] Update eslint.config.js --- eslint.config.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index c9f646d..70ba79f 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,8 +1,10 @@ module.exports = [ { - "parserOptions": { - "ecmaVersion": 2015, - "sourceType": "script" + "languageOptions": { + "parserOptions": { + "ecmaVersion": 2015, + "sourceType": "script" + } } } ] From e4396db4e262983625dc6baf23ece41497e35054 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Mon, 22 Apr 2024 17:24:02 +0200 Subject: [PATCH 4/4] Update eslint.config.js --- eslint.config.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index 70ba79f..2ee0728 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,10 +1,8 @@ module.exports = [ { "languageOptions": { - "parserOptions": { - "ecmaVersion": 2015, - "sourceType": "script" - } + "ecmaVersion": 2015, + "sourceType": "script" } } ]