* feat: add `vee-validate` * chore: update * chore: update `AccountForm` example - add `FormDescription` component - include `src` in tsconfig * refactor: use radix-vue `Slot` component * chore: refresh lockfile * chore: update `ProfileForm.vue` and `AccountForm` fix vee-validate initialValues on components with `componentField` slotProp * chore: update `AppearanceForm.vue` update pnpm and some deps -_- * refactor: update - add new-york style - off eslint import/first rule - use `useId` from radix-vue * fix: class-name -> class * refactor: simplify validation for `Command` component * fix: v-bind="field" -> v-bind="componentField" * fix: useAttrs to prevent class duplication * docs: add `form.md` - change TabPreview.vue to showcase way of using vee-validate * docs: add form example for `checkbox` `input` and `datepicker` * docs: add `combobox`, `datepicker`, `radio-group`, `select`, `switch` and `textarea` form and some other exmaples * chore: typo, update `zod`, `vite`, and `@vitejs/plugin-vue`
18 lines
418 B
JavaScript
18 lines
418 B
JavaScript
// const process = require('node:process')
|
|
// process.env.ESLINT_TSCONFIG = 'tsconfig.json'
|
|
|
|
module.exports = {
|
|
extends: '@antfu',
|
|
|
|
rules: {
|
|
'vue/one-component-per-file': 'off',
|
|
'vue/no-reserved-component-names': 'off',
|
|
'vue/no-useless-v-bind': 'off',
|
|
'symbol-description': 'off',
|
|
'no-console': 'warn',
|
|
'no-tabs': 'off',
|
|
'no-invalid-character': 'off',
|
|
'import/first': 'off',
|
|
},
|
|
}
|