Skip to content

Commit

Permalink
chore: run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
metonym committed May 15, 2024
1 parent cd720a6 commit a08ecb7
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:
run: bun install

- name: Run unit tests
run: bun run test
run: bun run test
2 changes: 1 addition & 1 deletion .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ jobs:
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: dist
publish_dir: dist
5 changes: 0 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,5 @@
"files": [
"src"
],
"prettier": {
"printWidth": 120,
"svelteStrictMode": true,
"svelteBracketNewLine": true
},
"type": "module"
}
10 changes: 5 additions & 5 deletions test/Pincode.test.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
<Pincode
type="numeric"
bind:this="{ref}"
bind:code
bind:value
bind:code="{code}"
bind:value="{value}"
on:complete="{(e) => {
console.log(e.detail);
}}"
Expand All @@ -39,7 +39,7 @@
<PincodeInput />
</Pincode>

<div class:complete class:success class:error>
<div class:complete="{complete}" class:success="{success}" class:error="{error}">
{#if !complete}{correctCode.length - value.length} more...{/if}
{#if success}Correct code!{/if}
{#if error}Incorrect code.{/if}
Expand All @@ -48,8 +48,8 @@
<UPincode
type="numeric"
bind:this="{ref}"
bind:code
bind:value
bind:code="{code}"
bind:value="{value}"
on:complete="{(e) => {
console.log(e.detail);
}}"
Expand Down
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

{
"compilerOptions": {
"noEmit": true,
Expand Down

0 comments on commit a08ecb7

Please sign in to comment.