Skip to content

Commit

Permalink
style(tslint): use ignore-next-line insted of ignore-line
Browse files Browse the repository at this point in the history
Use ignore-next-line to prevent prettier from moving the comment to another line
  • Loading branch information
omnibrain committed Sep 18, 2019
1 parent f8e238e commit a061e06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/svguitar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ export class SVGuitarChord {
const height = constants.width * 1.5

/* istanbul ignore else */
// tslint:disable-next-line:strict-type-predicates
if (typeof global !== 'undefined') {
// tslint:disable-line:strict-type-predicates
// node (jest)
this.svg = SVG(container)
.attr('preserveAspectRatio', 'xMidYMid meet')
Expand Down

0 comments on commit a061e06

Please sign in to comment.