Skip to content

Commit 0969339

Browse files
committed
fix lint warns
1 parent ec390f4 commit 0969339

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

src/components/DatetimeFormat.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ const DATETIME_FORMAT_KEYS = [
2727
]
2828

2929
export const DatetimeFormat = defineComponent({
30+
/* eslint-disable */
3031
name: 'i18n-d',
3132
props: {
3233
tag: {
@@ -43,6 +44,7 @@ export const DatetimeFormat = defineComponent({
4344
type: String
4445
}
4546
},
47+
/* eslint-enable */
4648
setup(props, context: SetupContext) {
4749
const i18n = useI18n()
4850

src/components/NumberFormat.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ const NUMBER_FORMAT_KEYS = [
2222
]
2323

2424
export const NumberFormat = defineComponent({
25+
/* eslint-disable */
2526
name: 'i18n-n',
2627
props: {
2728
tag: {
@@ -38,6 +39,7 @@ export const NumberFormat = defineComponent({
3839
type: String
3940
}
4041
},
42+
/* eslint-enable */
4143
setup(props, context: SetupContext) {
4244
const i18n = useI18n()
4345

src/components/Translation.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export type TranslationProps = {
1818
}
1919

2020
export const Translation = defineComponent({
21+
/* eslint-disable */
2122
name: 'i18n-t',
2223
props: {
2324
tag: {
@@ -36,6 +37,7 @@ export const Translation = defineComponent({
3637
validator: (val: any): boolean => isNumber(val) || !isNaN(val)
3738
}
3839
},
40+
/* eslint-enable */
3941
setup(props: TranslationProps, context: SetupContext) {
4042
const { slots, attrs } = context
4143
const i18n = useI18n()

0 commit comments

Comments
 (0)