Skip to content

Commit

Permalink
chore: lint fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
zyyv committed Aug 28, 2023
1 parent d7cc823 commit 418892a
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 71 deletions.
5 changes: 4 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"extends": "@antfu"
"extends": "@antfu",
"rules": {
"n/prefer-global/process": "off"
}
}
6 changes: 2 additions & 4 deletions components/Bg.vue
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
<script setup lang="ts">
import { breakpointsTailwind, useBreakpoints } from '@vueuse/core'
const distance = ref(200)
const breakpoint = useBreakpoints(breakpointsTailwind)
function generateRandomColor() {
const r = Math.floor(Math.random() * 255)
const g = Math.floor(Math.random() * 255)
Expand Down Expand Up @@ -62,6 +58,7 @@ const afterStyle_1_animate = computed(() => afterStyles.value[0].animation)
</template>

<style lang="scss" scoped>
// @unocss-skip-start
.bg-stars::after {
content: '';
display: block;
Expand All @@ -72,4 +69,5 @@ const afterStyle_1_animate = computed(() => afterStyles.value[0].animation)
box-shadow: v-bind(afterStyle_1_boxShadow);
animation: v-bind(afterStyle_1_animate);
}
// @unocss-skip-end
</style>
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"fs-extra": "^11.1.1",
"nuxt": "3.7.0",
"sass": "^1.66.1",
"typescript": "^5.2.2",
"typescript": "5.1.6",
"unocss-preset-scrollbar": "^0.2.1",
"unocss-preset-useful": "^0.0.15"
},
Expand Down
Loading

0 comments on commit 418892a

Please sign in to comment.