sebinbenjamin/image-res-generator

View on GitHub

Showing 57 of 57 total issues

Replace err with (err)
Open

        .catch(err => {
Severity: Minor
Found in src/core/generator.js by eslint

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

Replace '-i,·--icon·[optional]',·'optional·icon·file·path·(default:·./resources/icon)' with ⏎····'-i,·--icon·[optional]',⏎····'optional·icon·file·path·(default:·./resources/icon)'⏎··
Open

  .option('-i, --icon [optional]', 'optional icon file path (default: ./resources/icon)')
Severity: Minor
Found in src/utils/cli.js by eslint

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

Insert ⏎·····
Open

    .then(() => Promise.resolve({
Severity: Minor
Found in src/core/generator.js by eslint

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

Insert ⏎·····
Open

    .then(() => Promise.resolve({
Severity: Minor
Found in src/core/generator.js by eslint

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

Replace requestedPlatform with (requestedPlatform)
Open

  platforms.forEach(requestedPlatform => {
Severity: Minor
Found in src/core/platform-manager.js by eslint

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

Replace program.makeSplash·||·(!program.makeIcon·&&·!program.makeSplash) with ⏎····program.makeSplash·||⏎····(!program.makeIcon·&&·!program.makeSplash)⏎··
Open

  makeSplash: !!(program.makeSplash || (!program.makeIcon && !program.makeSplash)),
Severity: Minor
Found in src/utils/cli.js by eslint

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

Replace str with (str)
Open

  error: str => {
Severity: Minor
Found in src/utils/display.js by eslint

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

Replace }) with ··})⏎····
Open

    }));
Severity: Minor
Found in src/core/generator.js by eslint

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

Replace ·image.resize({·width,·height,·position:·'centre'·}).toFile(outputFilePath) with ⏎······image.resize({·width,·height,·position:·'centre'·}).toFile(outputFilePath)⏎····
Open

    .then(() => image.resize({ width, height, position: 'centre' }).toFile(outputFilePath))
Severity: Minor
Found in src/core/generator.js by eslint

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

Replace selPlatforms with (selPlatforms)
Open

      .then(selPlatforms => (gSelectedPlatforms = selPlatforms))
Severity: Minor
Found in src/index.js by eslint

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

Replace ······ with ········
Open

      },
Severity: Minor
Found in src/core/generator.js by eslint

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

Replace definition,·platformPath,·imageObj,·type,·platform with ⏎··definition,⏎··platformPath,⏎··imageObj,⏎··type,⏎··platform⏎
Open

const transformSplash = (definition, platformPath, imageObj, type, platform) => {
Severity: Minor
Found in src/core/generator.js by eslint

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

Replace def,·platformPath,·imageObj,·config.type,·config.platform), with ⏎··············def,⏎··············platformPath,⏎··············imageObj,⏎··············config.type,⏎··············config.platform⏎············)
Open

            transformIcon(def, platformPath, imageObj, config.type, config.platform),
Severity: Minor
Found in src/core/generator.js by eslint

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

Replace ········ with ··········
Open

        type,
Severity: Minor
Found in src/core/generator.js by eslint

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

Replace def,·platformPath,·imageObj,·config.type,·config.platform), with ⏎··············def,⏎··············platformPath,⏎··············imageObj,⏎··············config.type,⏎··············config.platform⏎············)
Open

            transformSplash(def, platformPath, imageObj, config.type, config.platform),
Severity: Minor
Found in src/core/generator.js by eslint

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

Replace ·image.resize(definition.size,·definition.size).toFile(outputFilePath) with ⏎······image.resize(definition.size,·definition.size).toFile(outputFilePath)⏎····
Open

    .then(() => image.resize(definition.size, definition.size).toFile(outputFilePath))
Severity: Minor
Found in src/core/generator.js by eslint

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

Insert ··
Open

        type,
Severity: Minor
Found in src/core/generator.js by eslint

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

Insert ··
Open

        platform,
Severity: Minor
Found in src/core/generator.js by eslint

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

Insert ··
Open

      config: {
Severity: Minor
Found in src/core/generator.js by eslint

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

Replace success with (success)
Open

        .then(success => {
Severity: Minor
Found in src/core/generator.js by eslint

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

Severity
Category
Status
Source
Language