Skip to content

Commit e9e7fc1

Browse files
committed
🎨 use @antfu/eslint-config.
1 parent 8c68c6e commit e9e7fc1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+1214
-1590
lines changed

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
dist
2+
node_modules

.eslintrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": [
3+
"@antfu",
4+
"./.eslintrc-auto-import.json"
5+
]
6+
}

.eslintrc.js

Lines changed: 0 additions & 91 deletions
This file was deleted.

.gitattributes

Lines changed: 0 additions & 2 deletions
This file was deleted.

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ dist-ssr
1414
stats.html
1515

1616
# Editor directories and files
17-
.vscode
18-
!.vscode/extensions.json
17+
.vscode/extensions.json
1918
.idea
2019
.DS_Store
2120
*.suo

.prettierignore

Lines changed: 0 additions & 37 deletions
This file was deleted.

.prettierrc

Lines changed: 0 additions & 17 deletions
This file was deleted.

.stylelintrc.js

Lines changed: 0 additions & 21 deletions
This file was deleted.

.vscode/settings.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"prettier.enable": false,
3+
"editor.formatOnSave": false,
4+
"editor.codeActionsOnSave": {
5+
"source.fixAll.eslint": true
6+
}
7+
}

auto-imports.d.ts

Lines changed: 67 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1,70 +1,70 @@
11
// Generated by 'unplugin-auto-import'
2-
export {};
2+
export {}
33
declare global {
4-
const EffectScope: typeof import('vue')['EffectScope'];
5-
const afterAll: typeof import('vitest')['afterAll'];
6-
const afterEach: typeof import('vitest')['afterEach'];
7-
const assert: typeof import('vitest')['assert'];
8-
const beforeAll: typeof import('vitest')['beforeAll'];
9-
const beforeEach: typeof import('vitest')['beforeEach'];
10-
const chai: typeof import('vitest')['chai'];
11-
const computed: typeof import('vue')['computed'];
12-
const createApp: typeof import('vue')['createApp'];
13-
const customRef: typeof import('vue')['customRef'];
14-
const defineAsyncComponent: typeof import('vue')['defineAsyncComponent'];
15-
const defineComponent: typeof import('vue')['defineComponent'];
16-
const describe: typeof import('vitest')['describe'];
17-
const effectScope: typeof import('vue')['effectScope'];
18-
const expect: typeof import('vitest')['expect'];
19-
const getCurrentInstance: typeof import('vue')['getCurrentInstance'];
20-
const getCurrentScope: typeof import('vue')['getCurrentScope'];
21-
const h: typeof import('vue')['h'];
22-
const inject: typeof import('vue')['inject'];
23-
const isProxy: typeof import('vue')['isProxy'];
24-
const isReactive: typeof import('vue')['isReactive'];
25-
const isReadonly: typeof import('vue')['isReadonly'];
26-
const isRef: typeof import('vue')['isRef'];
27-
const it: typeof import('vitest')['it'];
28-
const markRaw: typeof import('vue')['markRaw'];
29-
const nextTick: typeof import('vue')['nextTick'];
30-
const onActivated: typeof import('vue')['onActivated'];
31-
const onBeforeMount: typeof import('vue')['onBeforeMount'];
32-
const onBeforeUnmount: typeof import('vue')['onBeforeUnmount'];
33-
const onBeforeUpdate: typeof import('vue')['onBeforeUpdate'];
34-
const onDeactivated: typeof import('vue')['onDeactivated'];
35-
const onErrorCaptured: typeof import('vue')['onErrorCaptured'];
36-
const onMounted: typeof import('vue')['onMounted'];
37-
const onRenderTracked: typeof import('vue')['onRenderTracked'];
38-
const onRenderTriggered: typeof import('vue')['onRenderTriggered'];
39-
const onScopeDispose: typeof import('vue')['onScopeDispose'];
40-
const onServerPrefetch: typeof import('vue')['onServerPrefetch'];
41-
const onUnmounted: typeof import('vue')['onUnmounted'];
42-
const onUpdated: typeof import('vue')['onUpdated'];
43-
const provide: typeof import('vue')['provide'];
44-
const reactive: typeof import('vue')['reactive'];
45-
const readonly: typeof import('vue')['readonly'];
46-
const ref: typeof import('vue')['ref'];
47-
const resolveComponent: typeof import('vue')['resolveComponent'];
48-
const shallowReactive: typeof import('vue')['shallowReactive'];
49-
const shallowReadonly: typeof import('vue')['shallowReadonly'];
50-
const shallowRef: typeof import('vue')['shallowRef'];
51-
const suite: typeof import('vitest')['suite'];
52-
const test: typeof import('vitest')['test'];
53-
const toRaw: typeof import('vue')['toRaw'];
54-
const toRef: typeof import('vue')['toRef'];
55-
const toRefs: typeof import('vue')['toRefs'];
56-
const triggerRef: typeof import('vue')['triggerRef'];
57-
const unref: typeof import('vue')['unref'];
58-
const useAttrs: typeof import('vue')['useAttrs'];
59-
const useCssModule: typeof import('vue')['useCssModule'];
60-
const useCssVars: typeof import('vue')['useCssVars'];
61-
const useRoute: typeof import('vue-router')['useRoute'];
62-
const useRouter: typeof import('vue-router')['useRouter'];
63-
const useSlots: typeof import('vue')['useSlots'];
64-
const vi: typeof import('vitest')['vi'];
65-
const vitest: typeof import('vitest')['vitest'];
66-
const watch: typeof import('vue')['watch'];
67-
const watchEffect: typeof import('vue')['watchEffect'];
68-
const watchPostEffect: typeof import('vue')['watchPostEffect'];
69-
const watchSyncEffect: typeof import('vue')['watchSyncEffect'];
4+
const EffectScope: typeof import('vue')['EffectScope']
5+
const afterAll: typeof import('vitest')['afterAll']
6+
const afterEach: typeof import('vitest')['afterEach']
7+
const assert: typeof import('vitest')['assert']
8+
const beforeAll: typeof import('vitest')['beforeAll']
9+
const beforeEach: typeof import('vitest')['beforeEach']
10+
const chai: typeof import('vitest')['chai']
11+
const computed: typeof import('vue')['computed']
12+
const createApp: typeof import('vue')['createApp']
13+
const customRef: typeof import('vue')['customRef']
14+
const defineAsyncComponent: typeof import('vue')['defineAsyncComponent']
15+
const defineComponent: typeof import('vue')['defineComponent']
16+
const describe: typeof import('vitest')['describe']
17+
const effectScope: typeof import('vue')['effectScope']
18+
const expect: typeof import('vitest')['expect']
19+
const getCurrentInstance: typeof import('vue')['getCurrentInstance']
20+
const getCurrentScope: typeof import('vue')['getCurrentScope']
21+
const h: typeof import('vue')['h']
22+
const inject: typeof import('vue')['inject']
23+
const isProxy: typeof import('vue')['isProxy']
24+
const isReactive: typeof import('vue')['isReactive']
25+
const isReadonly: typeof import('vue')['isReadonly']
26+
const isRef: typeof import('vue')['isRef']
27+
const it: typeof import('vitest')['it']
28+
const markRaw: typeof import('vue')['markRaw']
29+
const nextTick: typeof import('vue')['nextTick']
30+
const onActivated: typeof import('vue')['onActivated']
31+
const onBeforeMount: typeof import('vue')['onBeforeMount']
32+
const onBeforeUnmount: typeof import('vue')['onBeforeUnmount']
33+
const onBeforeUpdate: typeof import('vue')['onBeforeUpdate']
34+
const onDeactivated: typeof import('vue')['onDeactivated']
35+
const onErrorCaptured: typeof import('vue')['onErrorCaptured']
36+
const onMounted: typeof import('vue')['onMounted']
37+
const onRenderTracked: typeof import('vue')['onRenderTracked']
38+
const onRenderTriggered: typeof import('vue')['onRenderTriggered']
39+
const onScopeDispose: typeof import('vue')['onScopeDispose']
40+
const onServerPrefetch: typeof import('vue')['onServerPrefetch']
41+
const onUnmounted: typeof import('vue')['onUnmounted']
42+
const onUpdated: typeof import('vue')['onUpdated']
43+
const provide: typeof import('vue')['provide']
44+
const reactive: typeof import('vue')['reactive']
45+
const readonly: typeof import('vue')['readonly']
46+
const ref: typeof import('vue')['ref']
47+
const resolveComponent: typeof import('vue')['resolveComponent']
48+
const shallowReactive: typeof import('vue')['shallowReactive']
49+
const shallowReadonly: typeof import('vue')['shallowReadonly']
50+
const shallowRef: typeof import('vue')['shallowRef']
51+
const suite: typeof import('vitest')['suite']
52+
const test: typeof import('vitest')['test']
53+
const toRaw: typeof import('vue')['toRaw']
54+
const toRef: typeof import('vue')['toRef']
55+
const toRefs: typeof import('vue')['toRefs']
56+
const triggerRef: typeof import('vue')['triggerRef']
57+
const unref: typeof import('vue')['unref']
58+
const useAttrs: typeof import('vue')['useAttrs']
59+
const useCssModule: typeof import('vue')['useCssModule']
60+
const useCssVars: typeof import('vue')['useCssVars']
61+
const useRoute: typeof import('vue-router')['useRoute']
62+
const useRouter: typeof import('vue-router')['useRouter']
63+
const useSlots: typeof import('vue')['useSlots']
64+
const vi: typeof import('vitest')['vi']
65+
const vitest: typeof import('vitest')['vitest']
66+
const watch: typeof import('vue')['watch']
67+
const watchEffect: typeof import('vue')['watchEffect']
68+
const watchPostEffect: typeof import('vue')['watchPostEffect']
69+
const watchSyncEffect: typeof import('vue')['watchSyncEffect']
7070
}

0 commit comments

Comments
 (0)