Skip to content

Commit

Permalink
chore(husky): only lint
Browse files Browse the repository at this point in the history
  • Loading branch information
IntelligentQuantum committed Jul 18, 2023
1 parent 80af5e1 commit 4c630fd
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run test && npm run lint && npm run lint:scss && npm run build
npm run lint && npm run lint:scss
9 changes: 9 additions & 0 deletions apps/client/src/pages/login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,15 @@ const Login = () =>
errors={errors.filter((item: string) => item.startsWith('last_name'))}
/>

<Input
required
name='username'
label='Username'
placeholder='Your username'
onChange={(event) => handleChange(event, 'register')}
errors={errors.filter((item: string) => item.startsWith('username'))}
/>

<Input
required
name='email'
Expand Down
9 changes: 9 additions & 0 deletions apps/client/src/pages/register.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,15 @@ const Register = () =>
errors={errors.filter((item: string) => item.startsWith('last_name'))}
/>

<Input
required
name='username'
label='Username'
placeholder='Your username'
onChange={(event) => handleChange(event, 'register')}
errors={errors.filter((item: string) => item.startsWith('username'))}
/>

<Input
required
name='email'
Expand Down

0 comments on commit 4c630fd

Please sign in to comment.