Skip to content

Commit

Permalink
remove husky from dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
kamalkishor1991 committed Aug 20, 2023
1 parent 5f8d681 commit 56c68cc
Show file tree
Hide file tree
Showing 3 changed files with 340 additions and 25 deletions.
19 changes: 8 additions & 11 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,17 @@ module.exports = {
jest: true,
node: true,
},
extends: [
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
],
ignorePatterns: ['yarn.lock'],
extends: ['eslint:recommended', 'plugin:react/recommended', 'plugin:@typescript-eslint/recommended'],
overrides: [],
parser: "@typescript-eslint/parser",
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
ecmaVersion: 'latest',
sourceType: 'module',
},
plugins: ["react", "@typescript-eslint", "react-hooks"],
plugins: ['react', '@typescript-eslint', 'react-hooks'],
rules: {
"react-hooks/rules-of-hooks": "error", // Checks rules of Hooks
"react-hooks/exhaustive-deps": "warn" // Checks effect dependencies
'react-hooks/rules-of-hooks': 'error', // Checks rules of Hooks
'react-hooks/exhaustive-deps': 'warn', // Checks effect dependencies
},
};
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@
"@mui/material": "^5.10.7",
"clsx": "^1.2.1",
"csstype": "^3.1.1",
"husky": "^8.0.3",
"lint-staged": "^13.2.3",
"pretty-quick": "^3.1.3"
}
Expand Down
Loading

0 comments on commit 56c68cc

Please sign in to comment.