Skip to content

Commit

Permalink
chore(linting): fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sfxcode committed Jul 23, 2024
1 parent 079eeba commit 0820bf2
Show file tree
Hide file tree
Showing 7 changed files with 386 additions and 343 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ PrimeVue 3 is in the prime3 branch.

Add *formkit.config.ts*


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

Autoimport true prevents elements lookup correctly.
Autoimport true prevents elements lookup correctly.

Example:
```typescript
Expand Down
2 changes: 0 additions & 2 deletions dev/pages/samples/FormEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ function actionUpdateInputs() {
}
const schemaResult = computed(() => editorDataToSchema(formData.value))
const schemaItems = computed(() => editorDataToSchema(formInputList.value))
</script>

<template>
Expand Down
3 changes: 2 additions & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ import antfu from '@antfu/eslint-config'

export default antfu(
{
// Configures for antfu's config
ignores: ['README.md'],
},
{
rules: {
'vue/no-mutating-props': ['error', {
shallowOnly: true,
}],
},

},
)
15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,16 +92,17 @@
"@formkit/i18n": "^1.6.5",
"@formkit/vue": "^1.6.5",
"primeicons": "^7.0.0",
"primevue": "4.0.1"
"primevue": "4.0.1",
"vue-i18n": "9.13.1"
},
"devDependencies": {
"@antfu/eslint-config": "2.23.2",
"@formkit/core": "^1.6.5",
"@primevue/themes": "4.0.1",
"@types/node": "^20.14.11",
"@types/node": "^20.14.12",
"@unocss/preset-icons": "0.61.5",
"@unocss/preset-uno": "0.61.5",
"@vitejs/plugin-vue": "^5.0.5",
"@vitejs/plugin-vue": "^5.1.0",
"@vitest/coverage-v8": "^2.0.4",
"@vitest/ui": "^2.0.4",
"@vue/compiler-sfc": "^3.4.33",
Expand All @@ -120,12 +121,12 @@
"json-editor-vue": "^0.15.1",
"mkdist": "^1.5.4",
"quill": "^2.0.2",
"sass": "^1.76.0",
"sass": "^1.77.8",
"tslib": "^2.6.3",
"typescript": "^5.5.3",
"typescript": "^5.5.4",
"unbuild": "2.0.0",
"unocss": "0.61.5",
"unplugin-auto-import": "^0.18.0",
"unplugin-auto-import": "^0.18.1",
"unplugin-vue-components": "^0.27.3",
"vanilla-jsoneditor": "^0.23.7",
"vite": "^5.3.4",
Expand All @@ -136,7 +137,7 @@
"vitepress": "1.3.1",
"vitest": "^2.0.4",
"vue": "^3.4.33",
"vue-demi": "^0.14.8",
"vue-demi": "^0.14.9",
"vue-router": "^4.4.0",
"vue-tsc": "^2.0.28"
}
Expand Down
Loading

0 comments on commit 0820bf2

Please sign in to comment.