feat: 更新依赖

This commit is contained in:
mini2024
2025-03-31 00:37:57 +08:00
parent 8d0ed93ee0
commit 0cc1730b2c
9 changed files with 382 additions and 390 deletions

View File

@@ -11,7 +11,6 @@ import { fileURLToPath } from 'node:url';
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const gitignorePath = path.resolve(__dirname, '.gitignore');
// To allow more languages other than `ts` in `.vue` files, uncomment the following lines:
import { configureVueProject } from '@vue/eslint-config-typescript';
@@ -20,9 +19,10 @@ configureVueProject({ scriptLangs: ['ts', 'tsx', 'js', 'jsx'] });
// More info at https://github.com/vuejs/eslint-config-typescript/#advanced-setup
export default defineConfigWithVueTs(
includeIgnoreFile(gitignorePath), // oxlint . --fix -D correctness --ignore-path .gitignore
{ ignores: ['typed-router.d.ts'] },
{ ignores: ['src/shadcn/**'] },
includeIgnoreFile(path.resolve(__dirname, '.gitignore')),
// npx oxlint . --fix -D correctness --ignore-pattern '/src/components/InspiraUI/*'
{ ignores: ['typed-router.d.ts', 'src/shadcn/**', 'src/components/InspiraUI/**'] },
{
files: ['**/*.{ts,mts,tsx,vue}'],
name: 'app/files-to-lint',