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", 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