From c64c5af46e19ce7962df1a97dcedcacb3ded29ac Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Tue, 12 Jul 2022 17:13:11 +0800 Subject: [PATCH] refactor: use import assertions for json imports --- utils/renderEslint.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/renderEslint.ts b/utils/renderEslint.ts index 1cea63c5..a549a389 100644 --- a/utils/renderEslint.ts +++ b/utils/renderEslint.ts @@ -3,7 +3,7 @@ import * as path from 'path' import type { ESLint, Linter } from 'eslint' -import { devDependencies as allEslintDeps } from '../template/eslint/package.json' +import { devDependencies as allEslintDeps } from '../template/eslint/package.json' assert { type: 'json' } import deepMerge from './deepMerge' import sortDependencies from './sortDependencies' -- 2.39.5