Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
Signed-off-by: nurRiyad <[email protected]>
  • Loading branch information
nurRiyad committed Nov 8, 2024
1 parent c7d9311 commit cb0060c
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 72 deletions.
6 changes: 0 additions & 6 deletions components/OgImage/About.vue
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
<script lang="ts" setup>
/**
* @credits NuxtLabs <https://nuxtlabs.com/>
* @see https://github.com/nuxt/nuxt.com/blob/main/components/OgImage/OgImageDocs.vue
*/
import { computed } from 'vue'
interface Props {
title?: string
description?: string
Expand Down
6 changes: 0 additions & 6 deletions components/OgImage/Test.vue
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
<script lang="ts" setup>
/**
* @credits NuxtLabs <https://nuxtlabs.com/>
* @see https://github.com/nuxt/nuxt.com/blob/main/components/OgImage/OgImageDocs.vue
*/
import { computed } from 'vue'
interface Props {
title?: string
description?: string
Expand Down
7 changes: 5 additions & 2 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
// @ts-check
import withNuxt from './.nuxt/eslint.config.mjs'

export default withNuxt()
// Your custom configs here
export default withNuxt({
rules: {
'vue/html-self-closing': 'off',
},
})
2 changes: 1 addition & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ export default defineNuxtConfig({
'nuxt-icon',
'@nuxt/image',
'@nuxt/fonts',
'@vueuse/nuxt',
'@nuxt/eslint',
'@vueuse/nuxt',
'@nuxt/content',
'nuxt-og-image',
'@nuxtjs/robots',
Expand Down
12 changes: 5 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare",
"lint": "yarn lint:eslint && yarn lint:prettier",
"lint:eslint": "eslint .",
"lint:prettier": "prettier . --check",
"lintfix": "eslint . --fix && prettier --write --list-different ."
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write ./"
},
"devDependencies": {
"@formkit/auto-animate": "^0.8.2",
Expand All @@ -29,13 +28,12 @@
"@tailwindcss/typography": "^0.5.10",
"@vueuse/core": "^10.9.0",
"@vueuse/nuxt": "^10.9.0",
"eslint": "^9.14.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-config-prettier": "^9.1.0",
"feed": "^4.2.2",
"nuxt": "^3.14.159",
"nuxt-icon": "^0.6.8",
"nuxt-og-image": "^3.0.0-rc.38",
"prettier": "3.3.3",
"prettier": "^3.3.3",
"typescript": "^5.6.3"
},
"packageManager": "[email protected]+sha256.9551e803dcb7a1839fdf5416153a844060c7bce013218ce823410532504ac10b"
Expand Down
67 changes: 17 additions & 50 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cb0060c

Please sign in to comment.