* feat: add devDeps, add nypm for installing deps
* feat: custom ui dir
* refactor: use consola instead of chalk
* test: ui alias
* refactor: import { z } from 'zod' instead of *, replace node:path with pathe
* chore: add components name to `configFile` option
* chore: update `c12` which fix json5 parse issue
and it also supports .config directory
* chore: update `https-proxy-agent`
* fix: await until dependencies are installed then run detypes process
* feat: add tailwind prefix
* test: tw-prefix snapshot
* chore: add prefix option to init
* test: apply prefix
* fix: tw-prefix parse wrongly
* chore: hide prefix temporarily
---------
Co-authored-by: zernonia <zernonia@gmail.com>
31 lines
593 B
JavaScript
31 lines
593 B
JavaScript
import antfu from '@antfu/eslint-config'
|
|
|
|
export default antfu(
|
|
{
|
|
vue: true,
|
|
typescript: true,
|
|
ignores: [
|
|
'**/__registry__/index.ts',
|
|
],
|
|
},
|
|
{
|
|
files: ['**/*.vue'],
|
|
rules: {
|
|
'vue/one-component-per-file': 0,
|
|
'vue/no-reserved-component-names': 0,
|
|
'vue/no-useless-v-bind': 0,
|
|
},
|
|
},
|
|
{
|
|
// Without `files`, they are general rules for all files
|
|
rules: {
|
|
'symbol-description': 0,
|
|
'no-console': 1,
|
|
'no-tabs': 0,
|
|
'import/first': 0,
|
|
'node/prefer-global/process': 0,
|
|
'style/no-tabs': 0,
|
|
},
|
|
},
|
|
)
|