Skip to content

Commit

Permalink
chore: update dev depedencies
Browse files Browse the repository at this point in the history
  • Loading branch information
favna committed Jul 23, 2023
1 parent 59eb679 commit 269da9c
Show file tree
Hide file tree
Showing 4 changed files with 328 additions and 293 deletions.
2 changes: 1 addition & 1 deletion .github/husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn pretty-quick --staged && yarn lint-staged
yarn lint-staged
4 changes: 2 additions & 2 deletions .prettierrc.cjs → .prettierrc.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const sapphirePrettierConfig = require('@sapphire/prettier-config');
import sapphirePrettierConfig from '@sapphire/prettier-config';

module.exports = {
export default {
...sapphirePrettierConfig,
tabWidth: 2,
useTabs: false,
Expand Down
15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
],
"scripts": {
"lint": "eslint src --ext ts --fix",
"prettier": "prettier --ignore-path=.prettierignore",
"format": "prettier --write \"src/**/*.ts\"",
"update": "yarn upgrade-interactive --latest",
"clean": "node scripts/clean.mjs",
Expand All @@ -50,26 +51,25 @@
"@commitlint/cli": "^17.6.7",
"@commitlint/config-conventional": "^17.6.7",
"@favware/cliff-jumper": "^2.1.1",
"@sapphire/eslint-config": "^4.4.3",
"@sapphire/prettier-config": "^1.4.5",
"@sapphire/eslint-config": "^5.0.0",
"@sapphire/prettier-config": "^2.0.0",
"@sapphire/ts-config": "^4.0.1",
"@types/js-yaml": "^4.0.5",
"@types/micromatch": "^4.0.2",
"@types/node": "^18.17.0",
"@types/node-fetch": "^2.6.4",
"@types/npm-package-arg": "^6.1.1",
"@types/npm-registry-fetch": "^8.0.4",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"@typescript-eslint/eslint-plugin": "^6.1.0",
"@typescript-eslint/parser": "^6.1.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.45.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-prettier": "^5.0.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.3",
"pinst": "^3.0.0",
"prettier": "^2.8.8",
"pretty-quick": "^3.1.3",
"prettier": "^3.0.0",
"typescript": "^5.1.6"
},
"resolutions": {
Expand All @@ -94,6 +94,7 @@
]
},
"lint-staged": {
"*": "prettier --ignore-unknown --write",
"*.{mjs,js,ts}": "eslint --fix --ext mjs,js,ts"
},
"config": {
Expand Down
Loading

0 comments on commit 269da9c

Please sign in to comment.