nfroidure/midifile

View on GitHub

Showing 109 of 109 total issues

Replace 'Invalid·ticks·per·frame·value·given·('·+·smpteFrames·+·').' with "Invalid·ticks·per·frame·value·given·("·+·smpteFrames·+·")."
Open

      'Invalid ticks per frame value given (' + smpteFrames + ').'
Severity: Minor
Found in src/MIDIFileHeader.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Delete ⏎········
Open

      !(
Severity: Minor
Found in src/MIDIFileTrack.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace 'Invalid·MIDIFileTrack·(0x' with "Invalid·MIDIFileTrack·(0x"
Open

        'Invalid MIDIFileTrack (0x' +
Severity: Minor
Found in src/MIDIFileTrack.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ')·:' with ")·:"
Open

          ') :' +
Severity: Minor
Found in src/MIDIFileTrack.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace 'midievents' with "midievents"
Open

var MIDIEvents = require('midievents');
Severity: Minor
Found in src/MIDIFile.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace i·=·0,·j·=·trackParsers.length with (i·=·0),·(j·=·trackParsers.length)
Open

        for (i = 0, j = trackParsers.length; i < j; i++) {
Severity: Minor
Found in src/MIDIFile.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace 'words' with "words"
Open

        0 === String.fromCharCode.apply(String, event.data).indexOf('words')
Severity: Minor
Found in src/MIDIFile.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace i·=·0,·j·=·MIDIFileHeader.HEADER_LENGTH with (i·=·0),·(j·=·MIDIFileHeader.HEADER_LENGTH)
Open

  for (i = 0, j = MIDIFileHeader.HEADER_LENGTH; i < j; i++) {
Severity: Minor
Found in src/MIDIFile.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ⏎········'M' with "M"
Open

      !(
Severity: Minor
Found in src/MIDIFileHeader.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace 'Invalid·MIDIFileTrack·(0x' with "Invalid·MIDIFileTrack·(0x"
Open

        'Invalid MIDIFileTrack (0x' +
Severity: Minor
Found in src/MIDIFileTrack.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace '·The·track·size·exceed·the·buffer·length.' with "·The·track·size·exceed·the·buffer·length."
Open

          ' The track size exceed the buffer length.'
Severity: Minor
Found in src/MIDIFileTrack.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Delete ⏎······
Open

          this.datas.getUint8(MIDIFileTrack.HDR_LENGTH + (trackLength - 1))
Severity: Minor
Found in src/MIDIFileTrack.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace '),' with "),"
Open

        '),' +
Severity: Minor
Found in src/MIDIFileHeader.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Delete ··
Open

          this.datas.getUint8(MIDIFileTrack.HDR_LENGTH + (trackLength - 3)) &&
Severity: Minor
Found in src/MIDIFileTrack.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace '·format·can·be·0,·1·or·2·only.' with "·format·can·be·0,·1·or·2·only."
Open

        ' format can be 0, 1 or 2 only.'
Severity: Minor
Found in src/MIDIFileHeader.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace 'Invalid·MIDIFileTrack·(0x' with "Invalid·MIDIFileTrack·(0x"
Open

        'Invalid MIDIFileTrack (0x' +
Severity: Minor
Found in src/MIDIFileTrack.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace 'r' with "r"
Open

        'r' === String.fromCharCode(this.datas.getUint8(2)) &&
Severity: Minor
Found in src/MIDIFileTrack.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace i·=·0,·j·=·this.tracks.length with (i·=·0),·(j·=·this.tracks.length)
Open

    for (i = 0, j = this.tracks.length; i < j; i++) {
Severity: Minor
Found in src/MIDIFile.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace 'Invalid·track·index·('·+·index·+·')' with "Invalid·track·index·("·+·index·+·")"
Open

    throw Error('Invalid track index (' + index + ')');
Severity: Minor
Found in src/MIDIFile.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace i·=·0,·j·=·this.tracks.length with (i·=·0),·(j·=·this.tracks.length)
Open

  for (i = 0, j = this.tracks.length; i < j; i++) {
Severity: Minor
Found in src/MIDIFile.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Severity
Category
Status
Source
Language