Skip to content

Commit 173e2b7

Browse files
committed
chore(linting): fix some issues
1 parent 7f37682 commit 173e2b7

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

dev/components/app/AppTopbar.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ function redirectToDocs() {
1515
window.open('https://sfxcode.github.io/formkit-primevue/', '_blank')
1616
}
1717
18-
const version = ref(import.meta.env.VITE_APP_VERSION)
19-
2018
const items = ref([
2119
{
2220
label: 'Demo -> ',

dev/modules/primevue.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ import ToastService from 'primevue/toastservice'
9898
import type { UserModule } from '@/types'
9999

100100
// eslint-disable-next-line @typescript-eslint/no-unused-vars
101-
export const install: UserModule = ({ app, router, isClient }) => {
101+
export const install: UserModule = ({ app }) => {
102102
// directives
103103

104104
app.directive('badge', BadgeDirective)

eslint.config.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
// eslint.config.js
22
import antfu from '@antfu/eslint-config'
33

4-
export default antfu()
4+
export default antfu(
5+
{
6+
// Configures for antfu's config
7+
},
8+
{
9+
rules: {
10+
},
11+
},
12+
)

0 commit comments

Comments
 (0)