Skip to content

Commit

Permalink
chore: fix prettier errors (#701)
Browse files Browse the repository at this point in the history
<!---
☝️ PR title should follow conventional commits
(https://conventionalcommits.org)
-->

### ❓ Type of change

<!-- What types of changes does your code introduce? Put an `x` in all
the boxes that apply. -->

- [ ] 📖 Documentation (updates to the documentation or readme)
- [x] 🐞 Bug fix (a non-breaking change that fixes an issue)
- [ ] 👌 Enhancement (improving an existing functionality)
- [ ] ✨ New feature (a non-breaking change that adds functionality)
- [ ] 🧹 Chore (updates to the build process or auxiliary tools and
libraries)
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to change)

### 📚 Description

<!-- Describe your changes in detail -->
<!-- Why is this change required? What problem does it solve? -->
This PR fixes prettier errors that cause the CI to fail, and adds a
`lint:fix` script to fix the errors locally.

---------

Co-authored-by: Tobias Diez <code@tobiasdiez.com>
  • Loading branch information
obulat and tobiasdiez committed Jul 12, 2024
1 parent f38a54b commit 3408f92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"lint": "pnpm lint:eslint && pnpm lint:prettier",
"lint:eslint": "eslint --max-warnings=0 --report-unused-disable-directives .",
"lint:prettier": "prettier --check .",
"lint:fix": "pnpm lint:eslint --fix && pnpm lint:prettier --write",
"prepack": "pnpm build",
"release": "pnpm jiti prepare-release.ts && pnpm publish --recursive",
"prepare": "pnpm run --filter=./playground/** prepare",
Expand Down
2 changes: 1 addition & 1 deletion packages/storybook-addon/src/preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ setup(async (vueApp, storyContext) => {
}

// Provide the config of the Nuxt app
// @ts-expect-error: internal Nuxt propertyss
// @ts-expect-error: internal Nuxt property
window.__NUXT__ = {
serverRendered: false,
config: {
Expand Down

0 comments on commit 3408f92

Please sign in to comment.