nfroidure/midifile

View on GitHub

Showing 109 of 109 total issues

Replace 'Invalid·MIDI·file·:·MIDI·format·(' with "Invalid·MIDI·file·:·MIDI·format·("
Open

      'Invalid MIDI file : MIDI format (' +
Severity: Minor
Found in src/MIDIFileHeader.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 './MIDIFileTrack' with "./MIDIFileTrack"
Open

var MIDIFileTrack = require('./MIDIFileTrack');
Severity: Minor
Found in src/MIDIFile.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 'Time·division·is·not·expressed·as·frames·per·seconds.' with "Time·division·is·not·expressed·as·frames·per·seconds."
Open

    throw new Error('Time division is not expressed as frames per seconds.');
Severity: Minor
Found in src/MIDIFileHeader.js by eslint

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

Replace '·No·track·end·event·found·at·the·expected·index' with "·No·track·end·event·found·at·the·expected·index"
Open

          ' No track end event found at the expected index' +
Severity: Minor
Found in src/MIDIFileTrack.js by eslint

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

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

      !(
Severity: Minor
Found in src/MIDIFileTrack.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 'use·strict' with "use·strict"
Open

'use strict';
Severity: Minor
Found in karma.conf.js by eslint

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

Delete ,
Open

      debug: false,
Severity: Minor
Found in karma.conf.js by eslint

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

Delete ,
Open

    concurrency: Infinity,
Severity: Minor
Found in karma.conf.js by eslint

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

Replace '' with ""
Open

        .join('');
Severity: Minor
Found in src/MIDIFile.js by eslint

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

Replace k·=·0,·l·=·this.tracks.length with (k·=·0),·(l·=·this.tracks.length)
Open

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

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

Replace 'Invalid·MIDIFileHeader·:·Chunk·length·must·be·6' with "Invalid·MIDIFileHeader·:·Chunk·length·must·be·6"
Open

      throw new Error('Invalid MIDIFileHeader : Chunk length must be 6');
Severity: Minor
Found in src/MIDIFileHeader.js by eslint

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

Replace 'use·strict' with "use·strict"
Open

'use strict';
Severity: Minor
Found in src/MIDIFileTrack.js by eslint

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

Replace 'browserify',·'mocha' with "browserify",·"mocha"
Open

    frameworks: ['browserify', 'mocha'],
Severity: Minor
Found in karma.conf.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 'T' with "T"
Open

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

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

Replace 'A·buffer·of·a·valid·MIDI·file·must·have,·at·least,·a' with "A·buffer·of·a·valid·MIDI·file·must·have,·at·least,·a"
Open

        'A buffer of a valid MIDI file must have, at least, a' +
Severity: Minor
Found in src/MIDIFile.js by eslint

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

Severity
Category
Status
Source
Language