nfroidure/utf-8

View on GitHub

Showing 47 of 47 total issues

Replace '00000000'.slice(0,·charLength)·+·1·+·'00000000' with "00000000".slice(0,·charLength)·+·1·+·"00000000"
Open

  mask = '00000000'.slice(0, charLength) + 1 + '00000000'.slice(charLength + 1);
Severity: Minor
Found in src/index.js by eslint

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

Replace '·bytes' with "·bytes"
Open

        ' bytes' +
Severity: Minor
Found in src/index.js by eslint

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

Replace '·encoded·char' with "·encoded·char"
Open

        ' encoded char' +
Severity: Minor
Found in src/index.js by eslint

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

Replace 'CharCode·'·+·charCode·+·'·cannot·be·encoded·with·UTF8.' with "CharCode·"·+·charCode·+·"·cannot·be·encoded·with·UTF8."
Open

  throw new Error('CharCode ' + charCode + ' cannot be encoded with UTF8.');
Severity: Minor
Found in src/index.js by eslint

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

Replace '·byte·(offset:' with "·byte·(offset:"
Open

        ' byte (offset:' +
Severity: Minor
Found in src/index.js by eslint

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

Replace ':·Next·bytes·of·encoded·char' with ":·Next·bytes·of·encoded·char"
Open

          ': Next bytes of encoded char' +
Severity: Minor
Found in src/index.js by eslint

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

Delete ··
Open

      : bytes.byteLength || bytes.length;
Severity: Minor
Found in src/index.js by eslint

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

Severity
Category
Status
Source
Language