style: update eslint (#6236)
This commit is contained in:
1 parent
f15fde7eb8
commit
ee61ca4cb7
397 files changed
+1265
-1226
No files matched your search
@@ -1,5 +1,5 @@
|
||||
import { parseString, stripComments } from 'strip-comments-strings'
|
||||
import { CommentSpecifier } from './CommentSpecifier'
|
||||
import { type CommentSpecifier } from './CommentSpecifier'
|
||||
|
||||
export function extractComments (text: string) {
|
||||
const hasFinalNewline = text.endsWith('\n')
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { CommentSpecifier } from './CommentSpecifier'
|
||||
import { type CommentSpecifier } from './CommentSpecifier'
|
||||
|
||||
export function insertComments (json: string, comments: CommentSpecifier[]) {
|
||||
// We need to reintroduce the comments. So create an index of
|
||||
|
||||
Reference in new issue
Block a user