Skip to content

Commit

Permalink
fix: fix wrong postinstall husky script
Browse files Browse the repository at this point in the history
  • Loading branch information
xingyu.ren committed Sep 20, 2023
1 parent b9bbe9d commit ab84d2f
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"env": {
"browser": true,
"es2021": true,
"jest": true
},
"root": true,
"parser": "@typescript-eslint/parser",
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking"
],
"rules": {
"@typescript-eslint/ban-types": "warn",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-unused-vars": [
"warn",
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_"
}
],
}
}
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"url": "[email protected]:webzard-io/k8s-api-provider.git"
},
"scripts": {
"postinstall": "husky install",
"start": "tsup --watch",
"build": "tsup",
"lint": "eslint src --ext .ts --quiet",
Expand Down

0 comments on commit ab84d2f

Please sign in to comment.