Skip to content

Commit 65dabdd

Browse files
committed
chore: update claude.md and edit hook
1 parent 8edafe2 commit 65dabdd

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

.claude/hooks/format-and-lint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ if [[ "$FILE_PATH" != *.ts && "$FILE_PATH" != *.tsx && "$FILE_PATH" != *.js && "
1111
exit 0
1212
fi
1313

14-
npx oxfmt "$FILE_PATH" >&2
15-
npx oxlint --type-aware --type-check "$FILE_PATH" >&2
14+
npx oxfmt "$FILE_PATH" >&2 || true
15+
npx oxlint --type-aware --type-check "$FILE_PATH" >&2 || true

CLAUDE.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
Be extremely concise. Sacrifice grammar for concision.
22
Frontend is partially migrated from vanilla JS to SolidJS — new components use `.tsx`, legacy code remains vanilla.
3-
Run `pnpm lint` when checking for linting OR typescript errors with oxlint.
43
Single test file: `pnpm vitest run path/to/test.ts`
54
For styling, use Tailwind CSS, class property, `cn` utility. Do not use classlist. Only colors available are those defined in Tailwind config.
65
In legacy code, use `i` tags with FontAwesome classes. In new code, use `Fa` component.

0 commit comments

Comments
 (0)