Skip to content

Commit afbcffc

Browse files
committed
[chore] Bump deps.
- Move to `npm`
1 parent 406115d commit afbcffc

File tree

5 files changed

+11857
-5532
lines changed

5 files changed

+11857
-5532
lines changed

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
yarn lint-staged
4+
npx lint-staged

lint-staged.config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module.exports = {
2-
// Run type-check on changes to TypeScript files
3-
'src/**/*.ts?(x)': () => 'yarn type-check',
2+
// Run type-check on changes to TypeScript files
3+
'src/**/*.ts?(x)': () => 'npm run type-check',
44
// Run ESLint on changes to JavaScript/TypeScript files
5-
'src/**/*.(ts|js)?(x)': (filenames) => `yarn lint ${filenames.join(' ')}`,
6-
}
5+
'src/**/*.(ts|js)?(x)': (filenames) => `npm run lint ${filenames.join(' ')}`
6+
};

0 commit comments

Comments
 (0)