Skip to content

Commit 2f44c50

Browse files
committed
feat: up to date dependencies and eslint with new 1.4.0 version
1 parent 72574ce commit 2f44c50

File tree

10 files changed

+16
-149
lines changed

10 files changed

+16
-149
lines changed

.config/husky/init.sh

Whitespace-only changes.

.config/husky/pre-commit

Lines changed: 0 additions & 5 deletions
This file was deleted.
File renamed without changes.

.husky/pre-commit

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
npm run prettier
5+
npm run lint

lib/FunctionalComponent/Size.ts

Lines changed: 0 additions & 7 deletions
This file was deleted.

lib/FunctionalComponent/Text.tsx

Lines changed: 0 additions & 40 deletions
This file was deleted.

lib/StateFulComponent/Hello.tsx

Lines changed: 0 additions & 83 deletions
This file was deleted.

lib/index.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
import Text from "./FunctionalComponent/Text";
2-
import { Hello } from "./StateFulComponent/Hello";
3-
4-
export { Text, Hello };
1+
// Your main export will be here

package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"build": "tsc -p tsconfig.json && npm run copy:assets && npm run copy:package",
2424
"prepare": "husky install",
2525
"format": "prettier --write \"src/**/*.{ts,tsx,js,jsx}\"",
26-
"lint": "eslint \"src/**/*.{ts,tsx,js,jsx}\"",
26+
"lint": "eslint \"lib/**/*.{ts,tsx,js,jsx}\"",
2727
"prettier": "npx prettier --write . && git add .",
2828
"husky:setup": "npx husky-init && npm run husky:commitlint && npm run husky:prettier && npm run husky:lint",
2929
"husky:commitlint": "npx husky add .husky/commit-msg 'npx --no-install commitlint --edit'",
@@ -51,7 +51,7 @@
5151
"eslint-plugin-react-hooks": "^4.6.2",
5252
"eslint-plugin-react-native": "^4.1.0",
5353
"eslint-plugin-unused-imports": "^4.1.4",
54-
"husky": "^9.1.6",
54+
"husky": "^8.0.0",
5555
"lint-staged": "^15.2.10",
5656
"npm-post-install": "0.0.2",
5757
"prettier": "^3.3.3",

0 commit comments

Comments
 (0)