feat: 更新依赖
This commit is contained in:
@ -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',
|
||||
|
Reference in New Issue
Block a user