Skip to content

Commit bc41862

Browse files
committed
chore: use linting
1 parent bc2e97c commit bc41862

File tree

4 files changed

+87
-86
lines changed

4 files changed

+87
-86
lines changed

dev/auto-import.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,14 @@ declare global {
1515
const effectScope: typeof import('vue')['effectScope']
1616
const getCurrentInstance: typeof import('vue')['getCurrentInstance']
1717
const getCurrentScope: typeof import('vue')['getCurrentScope']
18+
const getCurrentWatcher: typeof import('vue')['getCurrentWatcher']
1819
const h: typeof import('vue')['h']
1920
const inject: typeof import('vue')['inject']
2021
const isProxy: typeof import('vue')['isProxy']
2122
const isReactive: typeof import('vue')['isReactive']
2223
const isReadonly: typeof import('vue')['isReadonly']
2324
const isRef: typeof import('vue')['isRef']
25+
const isShallow: typeof import('vue')['isShallow']
2426
const markRaw: typeof import('vue')['markRaw']
2527
const nextTick: typeof import('vue')['nextTick']
2628
const onActivated: typeof import('vue')['onActivated']
@@ -74,6 +76,6 @@ declare global {
7476
// for type re-export
7577
declare global {
7678
// @ts-ignore
77-
export type { Component, Slot, Slots, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue'
79+
export type { Component, Slot, Slots, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, ShallowRef, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue'
7880
import('vue')
7981
}

dev/pages/inputs/DatePicker.vue

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -2,47 +2,47 @@
22
const primeAttributes = 'dateFormat, showIcon, icon, .... (see documentation)'
33
44
const schema
5-
= [
6-
{
7-
$formkit: 'primeDatePicker',
8-
id: 'basic',
9-
name: 'basic',
10-
label: 'Basic',
11-
placeholder: 'MM/DD/YYYY',
12-
validation: 'required',
13-
},
14-
{
15-
$formkit: 'primeDatePicker',
16-
name: 'styled',
17-
label: 'Styled',
18-
style: { background: 'gray' },
19-
class: 'customClass',
20-
showIcon: true,
21-
},
22-
{
23-
$formkit: 'primeDatePicker',
24-
name: 'icon',
25-
label: 'Custom Icon',
26-
dateFormat: 'yy-mm',
27-
showIcon: true,
28-
icon: 'pi pi-question',
29-
},
30-
{
31-
$formkit: 'primeDatePicker',
32-
name: 'range',
33-
label: 'Date Range',
34-
selectionMode: 'range',
35-
manualInput: false,
36-
},
37-
{
38-
$formkit: 'primeDatePicker',
39-
name: 'multiple',
40-
label: 'Multiple Dates',
41-
selectionMode: 'multiple',
42-
manualInput: false,
43-
},
5+
= [
6+
{
7+
$formkit: 'primeDatePicker',
8+
id: 'basic',
9+
name: 'basic',
10+
label: 'Basic',
11+
placeholder: 'MM/DD/YYYY',
12+
validation: 'required',
13+
},
14+
{
15+
$formkit: 'primeDatePicker',
16+
name: 'styled',
17+
label: 'Styled',
18+
style: { background: 'gray' },
19+
class: 'customClass',
20+
showIcon: true,
21+
},
22+
{
23+
$formkit: 'primeDatePicker',
24+
name: 'icon',
25+
label: 'Custom Icon',
26+
dateFormat: 'yy-mm',
27+
showIcon: true,
28+
icon: 'pi pi-question',
29+
},
30+
{
31+
$formkit: 'primeDatePicker',
32+
name: 'range',
33+
label: 'Date Range',
34+
selectionMode: 'range',
35+
manualInput: false,
36+
},
37+
{
38+
$formkit: 'primeDatePicker',
39+
name: 'multiple',
40+
label: 'Multiple Dates',
41+
selectionMode: 'multiple',
42+
manualInput: false,
43+
},
4444
45-
]
45+
]
4646
4747
const data = {}
4848
</script>

dev/pages/styling/Grid.vue

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -2,56 +2,56 @@
22
import { FormKitDataEdit, FormKitDataView } from 'my-library-components'
33
44
const schema
5-
= [
6-
{
7-
$formkit: 'primeInputText',
8-
name: 'name',
9-
label: 'col-8',
10-
help: 'Required.',
11-
validation: 'required',
12-
outerClass: 'col-8',
13-
},
14-
{
15-
$formkit: 'primeInputText',
16-
name: 'name2',
17-
label: 'col-4',
18-
outerClass: 'col-4',
19-
},
20-
{
21-
$formkit: 'primeInputNumber',
22-
name: 'name3',
23-
label: 'col-4',
24-
outerClass: 'col-4',
5+
= [
6+
{
7+
$formkit: 'primeInputText',
8+
name: 'name',
9+
label: 'col-8',
10+
help: 'Required.',
11+
validation: 'required',
12+
outerClass: 'col-8',
13+
},
14+
{
15+
$formkit: 'primeInputText',
16+
name: 'name2',
17+
label: 'col-4',
18+
outerClass: 'col-4',
19+
},
20+
{
21+
$formkit: 'primeInputNumber',
22+
name: 'name3',
23+
label: 'col-4',
24+
outerClass: 'col-4',
2525
26-
},
26+
},
2727
28-
]
28+
]
2929
3030
const outputSchema
31-
= [
32-
{
33-
$formkit: 'primeOutputText',
34-
name: 'name',
35-
label: 'col-9',
36-
help: 'Required.',
37-
validation: 'required',
38-
outerClass: 'col-9',
39-
},
40-
{
41-
$formkit: 'primeOutputText',
42-
name: 'name2',
43-
label: 'col-4',
44-
outerClass: 'col-4',
45-
},
46-
{
47-
$formkit: 'primeOutputNumber',
48-
name: 'name3',
49-
label: 'col-4',
50-
outerClass: 'col-4',
31+
= [
32+
{
33+
$formkit: 'primeOutputText',
34+
name: 'name',
35+
label: 'col-9',
36+
help: 'Required.',
37+
validation: 'required',
38+
outerClass: 'col-9',
39+
},
40+
{
41+
$formkit: 'primeOutputText',
42+
name: 'name2',
43+
label: 'col-4',
44+
outerClass: 'col-4',
45+
},
46+
{
47+
$formkit: 'primeOutputNumber',
48+
name: 'name3',
49+
label: 'col-4',
50+
outerClass: 'col-4',
5151
52-
},
52+
},
5353
54-
]
54+
]
5555
5656
const data = { name: 'Hey Some Value', name2: 'Another value !', name3: 42 }
5757
</script>

docs/advanced/nuxt.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,3 @@ That's it! You can now use FormKit PrimeVue Nuxt Module in your Nuxt app ✨
2727
- **includeStyles** (default: `true`): Add custom FormKit CSS to the project.
2828
- **installI18N** (default: `true`): Install nuxt i18n module automatically.
2929
- **installFormKit** (default: `true`): Install nuxt formkit module automatically.
30-

0 commit comments

Comments
 (0)