style: update eslint (#6236)

This commit is contained in:
Zoltan Kochan authored and GitHub committed 2023-03-18 14:57:29 +02:00
1 parent f15fde7eb8
commit ee61ca4cb7
397 files changed
+1265 -1226

No files matched your search

+1 -1
View File
@@ -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 -1
View File
@@ -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