From 3f5b552320ff64d7d4cffc6946a78a2718d88dd9 Mon Sep 17 00:00:00 2001 From: Oleksii Potiekhin Date: Thu, 10 Dec 2020 15:01:24 +0100 Subject: [PATCH] fix(@schematics/angular): adjust block comment https://github.com/Microsoft/tslint-microsoft-contrib ERROR: 21:1 no-single-line-block-comment Replace block comment with a single-line comment --- .../angular/application/files/src/polyfills.ts.template | 4 +++- .../angular/migrations/update-8/drop-es6-polyfills_spec.ts | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/schematics/angular/application/files/src/polyfills.ts.template b/packages/schematics/angular/application/files/src/polyfills.ts.template index 9b8f300ef68a..d5f67bd91069 100644 --- a/packages/schematics/angular/application/files/src/polyfills.ts.template +++ b/packages/schematics/angular/application/files/src/polyfills.ts.template @@ -18,7 +18,9 @@ * BROWSER POLYFILLS */ -/** IE11 requires the following for NgClass support on SVG elements */ +/** + * IE11 requires the following for NgClass support on SVG elements + */ // import 'classlist.js'; // Run `npm install --save classlist.js`. /** diff --git a/packages/schematics/angular/migrations/update-8/drop-es6-polyfills_spec.ts b/packages/schematics/angular/migrations/update-8/drop-es6-polyfills_spec.ts index 065387d92ebf..d0dd837f64ef 100644 --- a/packages/schematics/angular/migrations/update-8/drop-es6-polyfills_spec.ts +++ b/packages/schematics/angular/migrations/update-8/drop-es6-polyfills_spec.ts @@ -41,7 +41,9 @@ import 'core-js/es6/map'; // import 'core-js/es6/weak-map'; import 'core-js/es6/set'; -/** IE10 and IE11 requires the following for NgClass support on SVG elements */ +/** + * IE10 and IE11 requires the following for NgClass support on SVG elements + */ // import 'classlist.js'; // Run "npm install --save classlist.js". /** IE10 and IE11 requires the following for the Reflect API. */