You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running prettier via yarn format results in this diff in src/makePatch.ts
(Note: prettier needs to be run twice)
- // copy .npmrc/.yarnrc in case packages are hosted in private registry- [".npmrc", ".yarnrc"].forEach(rcFile => {+ // copy .npmrc/.yarnrc in case packages are hosted in private registry+ ;[".npmrc", ".yarnrc"].forEach(rcFile => {
Comment is indented and a semi-colon is inserted before the tuple. This causes tslint to flag
ERROR: src/makePatch.ts:106:6 - statements are not aligned
After update prettier to 2.1.1 the comment indentation is fixed to
// copy .npmrc/.yarnrc in case packages are hosted in private registry
- [".npmrc", ".yarnrc"].forEach(rcFile => {+ ;[".npmrc", ".yarnrc"].forEach((rcFile) => {
but the tslint error pertains. Updating tslint to 6.1.3 seems to fix it.
The text was updated successfully, but these errors were encountered:
Running prettier via
yarn format
results in this diff in src/makePatch.ts(Note: prettier needs to be run twice)
Comment is indented and a semi-colon is inserted before the tuple. This causes tslint to flag
After update prettier to 2.1.1 the comment indentation is fixed to
but the tslint error pertains. Updating tslint to 6.1.3 seems to fix it.
The text was updated successfully, but these errors were encountered: