Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c64c5af

Browse files
committed
refactor: use import assertions for json imports
1 parent e50e5d8 commit c64c5af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/renderEslint.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as path from 'path'
33

44
import type { ESLint, Linter } from 'eslint'
55

6-
import { devDependencies as allEslintDeps } from '../template/eslint/package.json'
6+
import { devDependencies as allEslintDeps } from '../template/eslint/package.json' assert { type: 'json' }
77
import deepMerge from './deepMerge'
88
import sortDependencies from './sortDependencies'
99

0 commit comments

Comments
 (0)