Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update dependencies #967

Merged
merged 1 commit into from
Nov 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

# Skip commit-msg hook on CI
[ -n "$CI" ] && exit 0

npx commitlint --edit $1
commitlint --edit $1
5 changes: 1 addition & 4 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

# Skip pre-commit hook on CI
[ -n "$CI" ] && exit 0

npx lint-staged
lint-staged
2 changes: 1 addition & 1 deletion lib/node-utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ export function getFunctionReturnStatementNode(
// regular function or arrow function with block
const returnStatementNode = functionNode.body.body.find((statement) =>
isReturnStatement(statement)
) as TSESTree.ReturnStatement | undefined;
);

if (!returnStatementNode) {
return null;
Expand Down
31 changes: 14 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"format:check": "pnpm run prettier-base --check",
"lint": "eslint . --max-warnings 0 --ext .js,.ts",
"lint:fix": "pnpm run lint --fix",
"prepare": "is-ci || husky install",
"prepare": "is-ci || husky",
"prettier-base": "prettier . --ignore-unknown --cache --log-level warn",
"rule-doc-generator": "eslint-doc-generator",
"semantic-release": "semantic-release",
Expand All @@ -57,15 +57,12 @@
"@typescript-eslint/utils": "^8.15.0"
},
"devDependencies": {
"@babel/core": "^7.25.8",
"@babel/eslint-parser": "^7.25.8",
"@babel/eslint-plugin": "^7.25.7",
"@commitlint/cli": "^17.8.1",
"@commitlint/config-conventional": "^17.8.1",
"@swc/core": "^1.7.36",
"@swc/jest": "^0.2.36",
"@types/jest": "^27.5.2",
"@types/node": "^22.8.6",
"@commitlint/cli": "^19.6.0",
"@commitlint/config-conventional": "^19.6.0",
"@swc/core": "^1.9.3",
"@swc/jest": "^0.2.37",
"@types/jest": "^29.5.14",
"@types/node": "^22.9.3",
"@typescript-eslint/eslint-plugin": "^8.15.0",
"@typescript-eslint/parser": "^8.15.0",
"@typescript-eslint/rule-tester": "^8.15.0",
Expand All @@ -75,21 +72,21 @@
"eslint-doc-generator": "^1.7.1",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^28.8.3",
"eslint-plugin-jest": "^28.9.0",
"eslint-plugin-jest-formatting": "^3.1.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.6.0",
"eslint-plugin-promise": "^7.1.0",
"eslint-remote-tester": "^3.0.1",
"eslint-remote-tester-repositories": "^1.0.1",
"husky": "^8.0.3",
"husky": "^9.1.7",
"is-ci": "^3.0.1",
"jest": "^28.1.3",
"lint-staged": "^13.3.0",
"jest": "^29.7.0",
"lint-staged": "^15.2.10",
"prettier": "3.3.3",
"semantic-release": "^19.0.5",
"semantic-release": "^24.2.0",
"semver": "^7.6.3",
"ts-node": "^10.9.2",
"typescript": "5.0.4"
"typescript": "^5.7.2"
},
"peerDependencies": {
"eslint": "^8.57.0 || ^9.0.0"
Expand Down
Loading