|
@@ -100,7 +100,7 @@ for await (const dirent of dir) {
|
|
|
// The following regex aims to capture all local package.json imports.
|
|
|
/\nimport \w+ from ['"]..\/([^'"]+\/)*package.json['"]\n/g,
|
|
|
(originalImport) =>
|
|
|
- `// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n` +
|
|
|
+ `\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n` +
|
|
|
`// @ts-ignore We don't want TS to generate types for the package.json${originalImport}`,
|
|
|
),
|
|
|
)
|