Skip to content

Commit

Permalink
fix: linting issues and make source compatible again after @antfu/esl…
Browse files Browse the repository at this point in the history
…int-config package update
  • Loading branch information
piscis committed Sep 19, 2023
1 parent 86568aa commit fd73830
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions error.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<script setup lang="ts">
import process from 'node:process'
const bodyCls = computed(() => {
const classList = ['antialiased']
if (process.env.NODE_ENV === 'development') {
Expand Down
2 changes: 2 additions & 0 deletions layouts/default.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<script setup lang="ts">
import process from 'node:process'
const bodyCls = computed(() => {
const cls = [
'font-nunito text-base text-black dark:text-white dark:bg-slate-900 antialiased',
Expand Down
2 changes: 2 additions & 0 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import process from 'node:process'
import type { Config } from 'tailwindcss'


const config = {
darkMode: 'class',
content: [
Expand Down

0 comments on commit fd73830

Please sign in to comment.