Skip to content

Commit

Permalink
fixed eslint :/ (#646)
Browse files Browse the repository at this point in the history
  • Loading branch information
buffet-time authored Nov 1, 2024
1 parent db2588c commit d026276
Show file tree
Hide file tree
Showing 6 changed files with 1,816 additions and 2,478 deletions.
8 changes: 2 additions & 6 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import path from 'node:path'
import { fileURLToPath } from 'node:url'
import js from '@eslint/js'
import { FlatCompat } from '@eslint/eslintrc'
import withNuxt from './.nuxt/eslint.config.mjs'
import { createConfigForNuxt } from '@nuxt/eslint-config/flat'

const __filename = fileURLToPath(import.meta.url)
const __dirname = path.dirname(__filename)
Expand All @@ -18,7 +18,7 @@ const compat = new FlatCompat({
allConfig: js.configs.all,
})

export default withNuxt(
export default createConfigForNuxt(
{
ignores: [
'**/.nuxt',
Expand All @@ -36,19 +36,15 @@ export default withNuxt(
],
},
...compat.extends(
// '@nuxtjs/eslint-config-typescript',
'plugin:vue/vue3-recommended',
'plugin:@typescript-eslint/recommended',
// 'plugin:nuxt/recommended',
'@vue/eslint-config-typescript',
'plugin:prettier/recommended',
'plugin:vuejs-accessibility/recommended',
'plugin:tailwindcss/recommended',
),
{
plugins: {
'@typescript-eslint': typescriptEslint,
// nuxt,
prettier,
tailwindcss,
vue,
Expand Down
2 changes: 1 addition & 1 deletion lib/api/data-contracts.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* eslint-disable */
/* tslint:disable */
/*
* ---------------------------------------------------------------
Expand Down
60 changes: 30 additions & 30 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,54 +26,54 @@
"test:watch": "vitest --watch"
},
"dependencies": {
"@vueuse/core": "^10.11.1"
"@vueuse/core": "^11.2.0"
},
"devDependencies": {
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.9.1",
"@nuxt/eslint": "^0.5.5",
"@nuxt/kit": "^3.13.0",
"@nuxt/schema": "^3.13.0",
"@nuxt/test-utils": "^3.14.2",
"@nuxt/vite-builder": "^3.13.0",
"@eslint/js": "^9.13.0",
"@nuxt/eslint": "^0.6.1",
"@nuxt/eslint-config": "^0.6.1",
"@nuxt/kit": "^3.13.2",
"@nuxt/schema": "^3.13.2",
"@nuxt/test-utils": "^3.14.4",
"@nuxt/vite-builder": "^3.13.2",
"@nuxtjs/eslint-config-typescript": "^12.1.0",
"@nuxtjs/i18n": "^8.5.1",
"@nuxtjs/tailwindcss": "^6.12.1",
"@nuxtjs/i18n": "^8.5.5",
"@nuxtjs/tailwindcss": "^6.12.2",
"@opentelemetry/api": "^1.9.0",
"@types/dotenv-safe": "^8.1.6",
"@types/eslint": "^9.6.1",
"@types/node": "^22.5.2",
"@typescript-eslint/eslint-plugin": "^8.4.0",
"@typescript-eslint/parser": "^8.4.0",
"@vitejs/plugin-vue": "^5.1.3",
"@vue/compiler-sfc": "^3.4.38",
"@vue/eslint-config-typescript": "^13.0.0",
"@types/node": "^22.8.6",
"@typescript-eslint/eslint-plugin": "^8.12.2",
"@typescript-eslint/parser": "^8.12.2",
"@vitejs/plugin-vue": "^5.1.4",
"@vue/compiler-sfc": "^3.5.12",
"@vue/test-utils": "^2.4.6",
"dotenv-safe": "^9.1.0",
"eslint": "^9.9.1",
"eslint": "^9.13.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-tailwindcss": "^3.17.4",
"eslint-plugin-vue": "^9.28.0",
"eslint-plugin-tailwindcss": "^3.17.5",
"eslint-plugin-vue": "^9.30.0",
"eslint-plugin-vuejs-accessibility": "^2.4.1",
"eslint-typegen": "^0.3.2",
"globals": "^15.9.0",
"happy-dom": "^15.0.0",
"husky": "^9.1.5",
"jiti": "^1.21.6",
"nuxt": "^3.13.0",
"postcss": "^8.4.44",
"globals": "^15.11.0",
"happy-dom": "^15.7.4",
"husky": "^9.1.6",
"jiti": "^2.3.3",
"nuxt": "^3.13.2",
"postcss": "^8.4.47",
"prettier": "^3.3.3",
"pretty-quick": "^4.0.0",
"swagger-typescript-api": "^13.0.22",
"tailwindcss": "^3.4.10",
"tailwindcss": "^3.4.14",
"typescript": "5.4.5",
"unplugin-icons": "^0.19.2",
"unplugin-icons": "^0.20.0",
"unplugin-vue-components": "^0.27.4",
"vite": "^5.4.2",
"vite": "^5.4.10",
"vite-plugin-eslint": "^1.8.1",
"vitest": "^2.0.5",
"vitest-fetch-mock": "^0.3.0",
"vue": "^3.4.38"
"vitest": "^2.1.4",
"vitest-fetch-mock": "^0.4.1",
"vue": "^3.5.12"
}
}
Loading

0 comments on commit d026276

Please sign in to comment.