Skip to content

Commit

Permalink
fix: bump yaml lineWidth from 80 to 120
Browse files Browse the repository at this point in the history
  • Loading branch information
antonblr committed Aug 10, 2022
1 parent a7c8227 commit b94a9b4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion src/checks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ export function runChecks(): boolean {
}

// Write processed document back
writeFileSync(file, yaml.dump(doc, {flowLevel: 6, quotingType: '"'}))
writeFileSync(
file,
yaml.dump(doc, {flowLevel: 6, quotingType: '"', lineWidth: 120})
)
return results.every(val => val === 'ok')
}

Expand Down

0 comments on commit b94a9b4

Please sign in to comment.