Skip to content

Commit c3c2234

Browse files
committed
fix: lint
1 parent 827fa6a commit c3c2234

4 files changed

Lines changed: 10 additions & 3 deletions

File tree

eslint.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ export default [
1515
parser: tsParser,
1616
ecmaVersion: 2020,
1717
sourceType: 'module',
18+
globals: {
19+
navigator: 'readonly',
20+
Navigator: 'readonly',
21+
Event: 'readonly',
22+
InputEvent: 'readonly',
23+
HTMLInputElement: 'readonly',
24+
},
1825
},
1926
rules: {
2027
'import-x/first': 'error',

src/components/__common/EthRadio.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import EthLabel from './EthLabel.vue';
3737
3838
const modelValue = defineModel<string>('modelValue');
3939
40-
const { options } = defineProps<{
40+
const { options, label = '' } = defineProps<{
4141
options: Option[];
4242
disabled?: boolean;
4343
label?: string;

src/components/__common/EthSelect.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ import EthLabel from './EthLabel.vue';
5959
6060
const modelValue = defineModel<string>('modelValue');
6161
62-
const { options } = defineProps<{
62+
const { options, label = '' } = defineProps<{
6363
options: Option[];
6464
disabled?: boolean;
6565
label?: string;

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { createHead } from '@unhead/vue';
1+
import { createHead } from '@unhead/vue/client';
22
import { createApp } from 'vue';
33
import { createWebHistory, createRouter } from 'vue-router';
44

0 commit comments

Comments
 (0)