Skip to content
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
1 change: 0 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ updates:
# Needs more work.
- dependency-name: 'eslint*'
- dependency-name: '@elastic/elasticsearch'
- dependency-name: 'husky'
# Needs Node >= 20.15, update when we get there.
- dependency-name: '@types/node'
- dependency-name: 'lint-staged'
Expand Down
1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname "$0")/_/husky.sh"

yarn lint-staged
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
]
},
"scripts": {
"prepare": "husky install",
"prepare": "husky",
"lint": "eslint \"**/*.{js,ts}\"",
"tsc": "yarn workspaces run tsc --noEmit --skipLibCheck"
},
Expand All @@ -25,7 +25,7 @@
"@tsconfig/node20": "20.1.8",
"@typescript-eslint/eslint-plugin": "^8.51.0",
"@typescript-eslint/parser": "^8.51.0",
"husky": "^8.0.3",
"husky": "^9.1.7",
"eslint": "^8.46.0",
"eslint-plugin-import": "^2.30.0",
"eslint-config-prettier": "^9.1.0",
Expand All @@ -40,6 +40,9 @@
"prettier": "^3.7.3"
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
"*.{js,ts}": [
"eslint --fix --max-warnings=0 --report-unused-disable-directives",
"prettier --write --ignore-unknown"
]
}
}
Loading