nfroidure/midifile

View on GitHub

Showing 109 of 109 total issues

Replace 'Invalid·buffer·received.' with "Invalid·buffer·received."
Open

      throw Error('Invalid buffer received.');
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 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 'k'·===·String.fromCharCode(this.datas.getUint8(3))⏎······ with "k"·===·String.fromCharCode(this.datas.getUint8(3))
Open

        'k' === String.fromCharCode(this.datas.getUint8(3))
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 'L' with "L"
Open

        } else if ('L' === String.fromCharCode(event.data[1])) {
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 'Invalid·SMPTE·frames·value·given·('·+·smpteFrames·+·').' with "Invalid·SMPTE·frames·value·given·("·+·smpteFrames·+·")."
Open

    throw new Error('Invalid SMPTE frames value given (' + smpteFrames + ').');
Severity: Minor
Found in src/MIDIFileHeader.js by eslint

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

Severity
Category
Status
Source
Language