Skip to content

Commit 0820bf2

Browse files
committed
chore(linting): fix errors
1 parent 079eeba commit 0820bf2

File tree

7 files changed

+386
-343
lines changed

7 files changed

+386
-343
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ PrimeVue 3 is in the prime3 branch.
2222

2323
Add *formkit.config.ts*
2424

25-
2625
```typescript
2726
import { defaultConfig, plugin } from '@formkit/vue'
2827
import { primeInputs } from '@sfxcode/formkit-primevue'
@@ -40,7 +39,7 @@ app.use(plugin, defaultConfig({
4039
Important: use *autoimport: false* if using primevue formkit validation and include or
4140
exclude not needed components as usual.
4241

43-
Autoimport true prevents elements lookup correctly.
42+
Autoimport true prevents elements lookup correctly.
4443

4544
Example:
4645
```typescript

dev/pages/samples/FormEditor.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ function actionUpdateInputs() {
4949
}
5050
5151
const schemaResult = computed(() => editorDataToSchema(formData.value))
52-
53-
const schemaItems = computed(() => editorDataToSchema(formInputList.value))
5452
</script>
5553

5654
<template>

eslint.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@ import antfu from '@antfu/eslint-config'
33

44
export default antfu(
55
{
6-
// Configures for antfu's config
6+
ignores: ['README.md'],
77
},
88
{
99
rules: {
1010
'vue/no-mutating-props': ['error', {
1111
shallowOnly: true,
1212
}],
1313
},
14+
1415
},
1516
)

package.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -92,16 +92,17 @@
9292
"@formkit/i18n": "^1.6.5",
9393
"@formkit/vue": "^1.6.5",
9494
"primeicons": "^7.0.0",
95-
"primevue": "4.0.1"
95+
"primevue": "4.0.1",
96+
"vue-i18n": "9.13.1"
9697
},
9798
"devDependencies": {
9899
"@antfu/eslint-config": "2.23.2",
99100
"@formkit/core": "^1.6.5",
100101
"@primevue/themes": "4.0.1",
101-
"@types/node": "^20.14.11",
102+
"@types/node": "^20.14.12",
102103
"@unocss/preset-icons": "0.61.5",
103104
"@unocss/preset-uno": "0.61.5",
104-
"@vitejs/plugin-vue": "^5.0.5",
105+
"@vitejs/plugin-vue": "^5.1.0",
105106
"@vitest/coverage-v8": "^2.0.4",
106107
"@vitest/ui": "^2.0.4",
107108
"@vue/compiler-sfc": "^3.4.33",
@@ -120,12 +121,12 @@
120121
"json-editor-vue": "^0.15.1",
121122
"mkdist": "^1.5.4",
122123
"quill": "^2.0.2",
123-
"sass": "^1.76.0",
124+
"sass": "^1.77.8",
124125
"tslib": "^2.6.3",
125-
"typescript": "^5.5.3",
126+
"typescript": "^5.5.4",
126127
"unbuild": "2.0.0",
127128
"unocss": "0.61.5",
128-
"unplugin-auto-import": "^0.18.0",
129+
"unplugin-auto-import": "^0.18.1",
129130
"unplugin-vue-components": "^0.27.3",
130131
"vanilla-jsoneditor": "^0.23.7",
131132
"vite": "^5.3.4",
@@ -136,7 +137,7 @@
136137
"vitepress": "1.3.1",
137138
"vitest": "^2.0.4",
138139
"vue": "^3.4.33",
139-
"vue-demi": "^0.14.8",
140+
"vue-demi": "^0.14.9",
140141
"vue-router": "^4.4.0",
141142
"vue-tsc": "^2.0.28"
142143
}

0 commit comments

Comments
 (0)