From 397695e9994928552d235fc1d99dca0ce1636024 Mon Sep 17 00:00:00 2001 From: Rangga Fajar Oktariansyah <86386385+FajarKim@users.noreply.github.com> Date: Thu, 2 Apr 2026 17:43:34 +0700 Subject: [PATCH 1/3] chore: update ESLint configuration for ES6 and parser options --- .eslintrc.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 122b0478..4e09abc0 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,7 +1,7 @@ { "env": { "browser": true, - "es2021": true, + "es6": true, "jest": true, "node": true }, @@ -12,14 +12,14 @@ ], "parser": "@typescript-eslint/parser", "parserOptions": { - "ecmaVersion": 12, + "ecmaVersion": 2015, "sourceType": "module" }, "plugins": [ "@typescript-eslint" ], "rules": { - "@typescript-eslint/explicit-module-boundary-types": "on", + "@typescript-eslint/explicit-module-boundary-types": "error", "@typescript-eslint/no-explicit-any": "error" } } From 1f8622cded359d280b28addb39887708a296fdcc Mon Sep 17 00:00:00 2001 From: codefactor-io Date: Thu, 2 Apr 2026 10:44:12 +0000 Subject: [PATCH 2/3] [CodeFactor] Apply fixes to commit 397695e --- src/card.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/card.ts b/src/card.ts index 5cab4066..9c3ed406 100644 --- a/src/card.ts +++ b/src/card.ts @@ -196,7 +196,7 @@ export default async function card(data: GetData, uiConfig: UiConfig): Promise Date: Fri, 3 Apr 2026 17:16:07 +0700 Subject: [PATCH 3/3] Change no-explicit-any rule from error to warn --- .eslintrc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index 4e09abc0..719a8466 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -20,6 +20,6 @@ ], "rules": { "@typescript-eslint/explicit-module-boundary-types": "error", - "@typescript-eslint/no-explicit-any": "error" + "@typescript-eslint/no-explicit-any": "warn" } }