Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Sep 7, 2023
1 parent 8b773b5 commit cce437b
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": "@antfu",
"rules": {
"vue/one-component-per-file": "off"
"vue/one-component-per-file": "off",
"n/prefer-global/process": "off"
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.mjs"
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"main": "./dist/index.js",
Expand Down
1 change: 1 addition & 0 deletions playground/src/pages/in-page.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<script setup lang="ts">
import { Starport } from 'vue-starport'
const a = ref(false)
const toggle = useToggle(a)
</script>
Expand Down
2 changes: 1 addition & 1 deletion playground/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/// <reference types="vitest" />

import path from 'path'
import path from 'node:path'
import { defineConfig } from 'vite'
import Vue from '@vitejs/plugin-vue'
import Pages from 'vite-plugin-pages'
Expand Down
2 changes: 1 addition & 1 deletion src/components/StarportCarrier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ export const StarportCarrier = defineComponent({
]
}
},
}) as DefineComponent<{}>
}) as DefineComponent<Record<string, any>>

0 comments on commit cce437b

Please sign in to comment.