Skip to content

Commit 452552a

Browse files
authored
Merge pull request #874 from sheikhlimon/fix/eslint-config
Update ESLint rules and fix Husky pre-commit hook deprecation warning
2 parents ee1a744 + 4737c2a commit 452552a

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.eslintrc.cjs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,18 @@ module.exports = {
2727
},
2828
},
2929
rules: {
30-
"prettier/prettier": "error",
30+
"prettier/prettier": "off",
3131
"react/react-in-jsx-scope": "off",
3232
"react/prop-types": "off",
3333
"react/no-unknown-property": "off",
3434
"react/display-name": "off",
35-
"@typescript-eslint/no-unused-vars": "off",
36-
"@typescript-eslint/no-explicit-any": "off",
35+
"@typescript-eslint/no-unused-vars": "warn",
36+
"@typescript-eslint/no-explicit-any": "warn",
3737
"@typescript-eslint/no-var-requires": "off",
3838
"@typescript-eslint/no-require-imports": "off",
3939
"@typescript-eslint/ban-ts-comment": "off",
4040
"@typescript-eslint/no-empty-object-type": "off",
41-
"no-console": "off",
41+
"no-console": "warn",
4242
"no-undef": "off",
4343
"no-useless-escape": "off",
4444
"no-prototype-builtins": "off",

.husky/pre-commit

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
npx lint-staged

0 commit comments

Comments
 (0)