From fb0c4a74f8de314bc2181fb4e166970a082eb6e4 Mon Sep 17 00:00:00 2001 From: sheikhlimon Date: Thu, 9 Oct 2025 19:23:05 +0600 Subject: [PATCH 1/2] chore: update ESLint rules to reduce distracting errors while typing --- .eslintrc.cjs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 58d5657e..b275fa10 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -27,18 +27,18 @@ module.exports = { }, }, rules: { - "prettier/prettier": "error", + "prettier/prettier": "off", "react/react-in-jsx-scope": "off", "react/prop-types": "off", "react/no-unknown-property": "off", "react/display-name": "off", - "@typescript-eslint/no-unused-vars": "off", - "@typescript-eslint/no-explicit-any": "off", + "@typescript-eslint/no-unused-vars": "warn", + "@typescript-eslint/no-explicit-any": "warn", "@typescript-eslint/no-var-requires": "off", "@typescript-eslint/no-require-imports": "off", "@typescript-eslint/ban-ts-comment": "off", "@typescript-eslint/no-empty-object-type": "off", - "no-console": "off", + "no-console": "warn", "no-undef": "off", "no-useless-escape": "off", "no-prototype-builtins": "off", From 4737c2a651123eab244741f9a279617c6371909c Mon Sep 17 00:00:00 2001 From: sheikhlimon Date: Thu, 9 Oct 2025 19:44:38 +0600 Subject: [PATCH 2/2] fix: remove deprecated Husky lines --- .husky/pre-commit | 3 --- 1 file changed, 3 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 36af2198..2312dc58 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - npx lint-staged