Skip to content

Commit

Permalink
chore(deps): Lock file maintenance (#1093)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Adam Skoufis <[email protected]>
Co-authored-by: Adam Skoufis <[email protected]>
  • Loading branch information
3 people authored Feb 7, 2025
1 parent c3d21eb commit 2ef97f3
Show file tree
Hide file tree
Showing 5 changed files with 5,091 additions and 5,976 deletions.
4 changes: 2 additions & 2 deletions packages/sku/src/config/lintStaged/lintStagedConfig.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { isYarn, getCommand } from '../../lib/packageManager.js';
import { lintExtensions } from '../../lib/lint.js';
import type { Config } from 'lint-staged';
import type { Configuration } from 'lint-staged';

const config: Config = {
const config: Configuration = {
[`**/*.{${lintExtensions},md}`]: ['sku format', 'sku lint'],
// Yarn lock integrity check
...(isYarn
Expand Down
1 change: 0 additions & 1 deletion packages/sku/src/lib/preCommit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ const preCommit = async () => {
// existing JSDoc type definitions.
// https://github.com/lint-staged/lint-staged/issues/1359
const { default: lintStaged } = await import('lint-staged');
// @ts-expect-error `@types/lint-staged` is wrong, and for some reason `tsc` doesn't pick up the
success = await lintStaged({ config });
} catch (e) {
console.error(chalk.red(e));
Expand Down
Loading

0 comments on commit 2ef97f3

Please sign in to comment.