From: Haoqun Jiang Date: Wed, 26 Feb 2025 16:42:33 +0000 (+0800) Subject: refactor: use import attributes instead of assertions X-Git-Tag: v3.15.0~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=509b5ff1b8f6ae80b71311b24b08fef7bde4932e;p=thirdparty%2Fvuejs%2Fcreate-vue.git refactor: use import attributes instead of assertions --- diff --git a/utils/renderEslint.ts b/utils/renderEslint.ts index 14df806d..dc85b2f4 100644 --- a/utils/renderEslint.ts +++ b/utils/renderEslint.ts @@ -6,7 +6,7 @@ import createESLintConfig from '@vue/create-eslint-config' import sortDependencies from './sortDependencies' import deepMerge from './deepMerge' -import eslintTemplatePackage from '../template/eslint/package.json' assert { type: 'json' } +import eslintTemplatePackage from '../template/eslint/package.json' with { type: 'json' } const eslintDeps = eslintTemplatePackage.devDependencies export default function renderEslint(