Skip to content
This repository was archived by the owner on Jan 6, 2024. It is now read-only.

Commit ddf4ab8

Browse files
committed
chore: fix lint
1 parent cae0dcd commit ddf4ab8

File tree

7 files changed

+32
-35
lines changed

7 files changed

+32
-35
lines changed

packages/client/components/DockingPanel.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const { sidebarExpanded } = useDevToolsSettings()
1111
<FullscreenButton v-if="!isInPopup" />
1212
<VDDarkToggle v-slot="{ toggle, isDark }">
1313
<VDButton n="sm primary" @click="toggle">
14-
<div carbon-sun translate-y--1px dark:carbon-moon />
14+
<div carbon-sun dark:carbon-moon translate-y--1px />
1515
{{ isDark.value ? "Dark" : "Light" }}
1616
</VDButton>
1717
</VDDarkToggle>

packages/client/logic/components/data.ts

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable @typescript-eslint/indent */
21
import type { ComponentInternalInstance } from 'vue'
32
import { getInstanceName } from '@vite-plugin-vue-devtools/core'
43
import { camelize, getUniqueComponentId, returnError } from './util'
@@ -104,13 +103,13 @@ function processProps(instance: ComponentInternalInstance) {
104103
value: returnError(() => instance.props[key]),
105104
meta: propDefinition
106105
? {
107-
type: propDefinition.type ? getPropType(propDefinition.type) : 'any',
108-
required: !!propDefinition.required,
109-
...propDefinition.default != null ? { default: propDefinition.default.toString() } : {},
110-
}
106+
type: propDefinition.type ? getPropType(propDefinition.type) : 'any',
107+
required: !!propDefinition.required,
108+
...propDefinition.default != null ? { default: propDefinition.default.toString() } : {},
109+
}
111110
: {
112-
type: 'invalid',
113-
},
111+
type: 'invalid',
112+
},
114113
editable: false,
115114
})
116115
}

packages/client/pages/settings.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ const showTabGroup = ref(false)
114114
<div>
115115
<VDDarkToggle v-slot="{ toggle, isDark }">
116116
<VDButton n="primary" @click="toggle">
117-
<div carbon-sun translate-y--1px dark:carbon-moon /> {{ isDark.value ? 'Dark' : 'Light' }}
117+
<div carbon-sun dark:carbon-moon translate-y--1px /> {{ isDark.value ? 'Dark' : 'Light' }}
118118
</VDButton>
119119
</VDDarkToggle>
120120
</div>

packages/client/tsconfig.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
{
22
"compilerOptions": {
33
"target": "esnext",
4-
"module": "esnext",
54
"lib": ["esnext", "DOM"],
6-
"moduleResolution": "node",
7-
"esModuleInterop": true,
8-
"strict": true,
95
"jsx": "preserve",
10-
"allowJs": true,
11-
"strictNullChecks": true,
12-
"resolveJsonModule": true,
13-
"noImplicitAny": false,
6+
"module": "esnext",
7+
"moduleResolution": "node",
8+
"paths": {
9+
"~/*": ["./*"]
10+
},
1411
"types": [
1512
"vite-plugin-pages/client",
1613
"vite/client",
1714
"vite-plugin-vue-devtools/client"
1815
],
19-
"paths": {
20-
"~/*": ["./*"]
21-
}
16+
"resolveJsonModule": true,
17+
"allowJs": true,
18+
"esModuleInterop": true,
19+
"strict": true,
20+
"strictNullChecks": true,
21+
"noImplicitAny": false
2222
},
2323
"exclude": ["node_modules", "dist"]
2424
}

packages/node/client.d.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ declare interface ExecNpmScriptOptions {
3030
callback?: (type: string, data: string) => void
3131
}
3232

33-
3433
declare interface RPCFunctions {
3534
componentGraph(): Promise<ModuleInfo[]>
3635
inspectClientUrl(): string
@@ -50,7 +49,6 @@ declare interface RPCFunctions {
5049
root(): string
5150
}
5251

53-
5452
declare interface PackageMeta {
5553
type: string
5654
version: string

packages/playground/tsconfig.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
22
"compilerOptions": {
33
"target": "ESNext",
4+
"lib": ["ESNext", "DOM"],
5+
"jsx": "preserve",
46
"useDefineForClassFields": true,
57
"module": "ESNext",
68
"moduleResolution": "Node",
7-
"strict": true,
8-
"jsx": "preserve",
9-
"sourceMap": true,
109
"resolveJsonModule": true,
10+
"sourceMap": true,
1111
"isolatedModules": true,
1212
"esModuleInterop": true,
13-
"lib": ["ESNext", "DOM"],
13+
"strict": true,
1414
"skipLibCheck": true
1515
}
1616
}

tsconfig.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
{
22
"compilerOptions": {
33
"target": "esnext",
4-
"module": "esnext",
54
"lib": ["esnext", "DOM"],
6-
"moduleResolution": "node",
7-
"esModuleInterop": true,
8-
"strict": true,
95
"jsx": "preserve",
10-
"allowJs": true,
11-
"strictNullChecks": true,
12-
"resolveJsonModule": true,
13-
"noImplicitAny": false,
6+
"module": "esnext",
7+
"moduleResolution": "node",
148
"types": [
159
"vite/client",
1610
"vitest/globals"
17-
]
11+
],
12+
"resolveJsonModule": true,
13+
"allowJs": true,
14+
"esModuleInterop": true,
15+
"strict": true,
16+
"strictNullChecks": true,
17+
"noImplicitAny": false
1818
},
1919
"exclude": ["node_modules", "dist", "src/node/app.js"]
2020
}

0 commit comments

Comments
 (0)