Skip to content

Commit

Permalink
chore: change eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
shfshanyue committed Nov 3, 2023
1 parent 7efb4ac commit 2cae3cb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"scripts": {
"build": "tsup",
"test": "vitest",
"lint": "eslint **/*.ts",
"lint": "eslint src/**/*.ts",
"prepare": "pnpm run build",
"size": "size-limit",
"analyze": "size-limit --why",
Expand Down
2 changes: 1 addition & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default defineConfig({
clean: true,
dts: true,
format: ['cjs', 'esm'],
outExtension({ format }) {
outExtension({ format }) {
return {
js: `.${format}.js`,
}
Expand Down
6 changes: 3 additions & 3 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default defineConfig({
includeSource: ['test/*'],
globals: true,
coverage: {
reporter: ['text'] // https://vitest.dev/guide/coverage.html#coverage-setup
}
reporter: ['text'], // https://vitest.dev/guide/coverage.html#coverage-setup
},
},
})
})

1 comment on commit 2cae3cb

@vercel
Copy link

@vercel vercel bot commented on 2cae3cb Nov 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.