Skip to content

Commit

Permalink
chore: format code
Browse files Browse the repository at this point in the history
  • Loading branch information
nonzzz committed Jun 18, 2024
1 parent a133067 commit 676229e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ module.exports = nonzzz(
'**/*.d.ts'
],
rules: {
'stylistic/indent': 'off'
'stylistic/indent': 'off',
'stylistic/space-before-function-paren': 'off'
}
}
)
2 changes: 1 addition & 1 deletion examples/vue/src/worker/worker.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { recoverMessage } from './sub'

self.onmessage = function (event) {
self.onmessage = function(event) {
const { data } = event
if (data.kind === 'test') {
recoverMessage()
Expand Down
2 changes: 1 addition & 1 deletion examples/vue/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ import Components from 'unplugin-vue-components/vite'
import { analyzer } from 'vite-bundle-analyzer'

export default defineConfig({
plugins: [vue(), Components({ resolvers: [VarletUIResolver()] }), analyzer({ analyzerMode: 'static', openAnalyzer: true })]
plugins: [vue(), Components({ resolvers: [VarletUIResolver()] }), analyzer({ analyzerMode: 'server', openAnalyzer: true })]
})
4 changes: 2 additions & 2 deletions global.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
type DeepPartial<T> = T extends object ? {
[P in keyof T]?: DeepPartial<T[P]>
} :
[P in keyof T]?: DeepPartial<T[P]>
} :
T

0 comments on commit 676229e

Please sign in to comment.