There was an error while loading. Please reload this page.
1 parent 39ccbbb commit c1bbb1bCopy full SHA for c1bbb1b
1 file changed
scripts/check-api.mjs
@@ -53,6 +53,9 @@ const checkEntry = (entry) => {
53
tempConfigPath,
54
JSON.stringify({
55
projectFolder: packageDir,
56
+ // api-extractor defaults to CRLF; force LF so the committed reports don't trip
57
+ // git's whitespace gate or churn across platforms.
58
+ newlineKind: 'lf',
59
mainEntryPointFilePath: resolve(packageDir, entry.types),
60
compiler: { tsconfigFilePath: resolve(packageDir, 'tsconfig.json') },
61
apiReport: {
0 commit comments