Skip to content

Commit

Permalink
chore: move some configs to scripts/configs
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalets committed Dec 13, 2024
1 parent 22beda5 commit 900328e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"prepare": "git config core.hooksPath scripts/git-hooks",
"lint": "eslint .",
"tsc": "tsc",
"knip": "knip -c knip.config.mts --tsConfig tsconfig.build.json",
"knip": "knip -c scripts/configs/knip.config.mts --tsConfig tsconfig.build.json",
"prettier": "prettier --check --ignore-unknown .",
"prettier:w": "prettier --write --ignore-unknown .",
"test": "node test/setup.mjs && node --test test/**/test.mjs",
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import path from 'node:path';
import micromatch from 'micromatch';
import { getSmokeTestDirs } from './scripts/smoke-tests.mjs';
import { getSmokeTestDirs } from '../smoke-tests.mjs';

export default {
'**': (changedFiles) => {
Expand Down
2 changes: 1 addition & 1 deletion scripts/git-hooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ set -euo pipefail

if [[ -n "${SKIP_GIT_HOOKS-}" ]]; then exit 0; fi

npx lint-staged --relative
npx lint-staged --relative --config scripts/configs/lint-staged.config.mjs

0 comments on commit 900328e

Please sign in to comment.