nfroidure/cloud-pages

View on GitHub

Showing 319 of 319 total issues

Replace ··············message:·'3.0.0·(tag:·v3.0.0)', with ············message:·"3.0.0·(tag:·v3.0.0)"
Open

              message: '3.0.0 (tag: v3.0.0)',
Severity: Minor
Found in src/cloudpages.mocha.js by eslint

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

Replace 'info',·'Deploying·' with "info",·"Deploying·"
Open

      log('info', 'Deploying ' + version);
Severity: Minor
Found in src/cloudpages.js by eslint

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

Delete ,
Open

        absolute: true,
Severity: Minor
Found in src/cloudpages.js by eslint

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

Replace 'E_SCAN_FAILURE' with "E_SCAN_FAILURE"
Open

          throw YError.wrap(err, 'E_SCAN_FAILURE', pattern);
Severity: Minor
Found in src/cloudpages.js by eslint

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

Replace 'public-read', with "public-read"
Open

          ACL: 'public-read',
Severity: Minor
Found in src/cloudpages.js by eslint

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

Replace 'info',·'Seeking·for·old·versions·to·remove.' with "info",·"Seeking·for·old·versions·to·remove."
Open

      log('info', 'Seeking for old versions to remove.');
Severity: Minor
Found in src/cloudpages.js by eslint

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

Replace 'E_NO_FILES' with "E_NO_FILES"
Open

          assert.equal(err.code, 'E_NO_FILES');
Severity: Minor
Found in src/cloudpages.mocha.js by eslint

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

Replace ··message:·'3.0.0·(tag:·v3.0.0)', with message:·"3.0.0·(tag:·v3.0.0)"
Open

              message: '3.0.0 (tag: v3.0.0)',
Severity: Minor
Found in src/cloudpages.mocha.js by eslint

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

Delete ··
Open

              time: TEST_BASE_TIME - SIX_DAYS * 2,
Severity: Minor
Found in src/cloudpages.mocha.js by eslint

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

Replace 'ENV',·'glob',·'fs',·'log',·'s3',·'mime',·'git',·'time' with "ENV",·"glob",·"fs",·"log",·"s3",·"mime",·"git",·"time"
Open

  dependencies = ['ENV', 'glob', 'fs', 'log', 's3', 'mime', 'git', 'time']
Severity: Minor
Found in src/cloudpages.js by eslint

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

Replace 'yerror' with "yerror"
Open

const YError = require('yerror');
Severity: Minor
Found in src/cloudpages.js by eslint

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

Replace 'stack',·'Stack:' with "stack",·"Stack:"
Open

          log('stack', 'Stack:', err.stack);
Severity: Minor
Found in src/cloudpages.js by eslint

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

Replace 'E_DIR_REQUIRED' with "E_DIR_REQUIRED"
Open

        throw new YError('E_DIR_REQUIRED', typeof dir, dir);
Severity: Minor
Found in src/cloudpages.js by eslint

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

Replace 'E_BUCKET_REQUIRED' with "E_BUCKET_REQUIRED"
Open

        throw new YError('E_BUCKET_REQUIRED', typeof bucket, bucket);
Severity: Minor
Found in src/cloudpages.js by eslint

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

Delete ,
Open

            Objects: objects.Contents.map(({ Key }) => ({ Key })),
Severity: Minor
Found in src/cloudpages.js by eslint

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

Replace 'E_S3_UPLOAD_ERROR' with "E_S3_UPLOAD_ERROR"
Open

              throw YError.wrap(err, 'E_S3_UPLOAD_ERROR', file, key);
Severity: Minor
Found in src/cloudpages.js by eslint

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

Delete ,
Open

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

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

Replace 'function' with "function"
Open

      assert.equal(typeof cloudPages, 'function');
Severity: Minor
Found in src/cloudpages.mocha.js by eslint

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

Delete ,
Open

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

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

Replace '1.0.0', with "1.0.0"
Open

        version: '1.0.0',
Severity: Minor
Found in src/cloudpages.mocha.js by eslint

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

Severity
Category
Status
Source
Language