Similar blocks of code found in 2 locations. Consider refactoring. Open
assert.deepEqual(glob.args, [
[
'dist/**/*',
{
absolute: true,
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 47.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Similar blocks of code found in 2 locations. Consider refactoring. Open
assert.deepEqual(glob.args, [
[
'../www/**/*',
{
absolute: true,
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 47.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Replace 'assert'
with "assert"
Open
const assert = require('assert');
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace '2010-03-06T00:00:00Z'
with "2010-03-06T00:00:00Z"
Open
const TEST_BASE_TIME = new Date('2010-03-06T00:00:00Z').getTime();
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ,
Open
lookup: sinon.stub(),
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ,
Open
getCommits: sinon.stub(),
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'E_VERSION_REQUIRED'
with "E_VERSION_REQUIRED"
Open
assert.equal(err.code, 'E_VERSION_REQUIRED');
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ········
with ······
Open
const SIX_DAYS = 6 * 24 * 60 * 60 * 1000;
- Read upRead up
- Exclude checks
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)',
- Read upRead up
- Exclude checks
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)',
- Read upRead up
- Exclude checks
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');
- Read upRead up
- Exclude checks
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)',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
time: TEST_BASE_TIME - SIX_DAYS * 2,
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'function'
with "function"
Open
assert.equal(typeof cloudPages, 'function');
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace '1.0.0',
with "1.0.0"
Open
version: '1.0.0',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace '../www',
with "../www"
Open
dir: '../www',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
git.getCommits.returns(
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'time'
with "time"
Open
$.constant('time', sinon.stub().returns(TEST_BASE_TIME));
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ··············tag:·'v3.0.1'
with ············tag:·"v3.0.1"
Open
tag: 'v3.0.1',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'log'
with "log"
Open
$.constant('log', sinon.stub());
- Read upRead up
- Exclude checks
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)',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'should·fail·with·no·dir'
with "should·fail·with·no·dir"
Open
it('should fail with no dir', () =>
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
keep: {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
s3.putBucketWebsiteAsync.returns(Promise.resolve());
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
return cloudPages({
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'ENV'
with "ENV"
Open
$.constant('ENV', {});
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ,
Open
createReadStream: sinon.stub(),
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'git'
with "git"
Open
$.constant('git', {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 's3'
with "s3"
Open
$.constant('s3', {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'should·fail·with·no·files·found'
with "should·fail·with·no·files·found"
Open
it('should fail with no files found', () =>
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ········glob.returns(Promise.resolve(['./index.html'
with ······glob.returns(Promise.resolve(["./index.html"
Open
glob.returns(Promise.resolve(['./index.html']));
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ··············hash:·'1fb2cd74a2f3957263d57de06962d19045769890'
with ············hash:·"1fb2cd74a2f3957263d57de06962d19045769890"
Open
hash: '1fb2cd74a2f3957263d57de06962d19045769890',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'lol'
with "lol"
Open
ENV.AWS_S3_BUCKET = 'lol';
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace '../www/.git/**/*'
with "../www/.git/**/*"
Open
ignore: '../www/.git/**/*',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'should·init·well'
with "should·init·well"
Open
it('should init well', () =>
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
s3.putObjectAsync.returns(Promise.resolve());
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'E_NOT_SUPPOSED_TO_BE_HERE'
with "E_NOT_SUPPOSED_TO_BE_HERE"
Open
throw new YError('E_NOT_SUPPOSED_TO_BE_HERE');
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
},
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'E_DIR_REQUIRED'
with "E_DIR_REQUIRED"
Open
assert.equal(err.code, 'E_DIR_REQUIRED');
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ··tag:·'v3.0.0'
with tag:·"v3.0.0"
Open
tag: 'v3.0.0',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace '../www'
with "../www"
Open
dir: '../www',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'cloudPages'
with "cloudPages"
Open
$.run(['cloudPages']).then(({ cloudPages }) => {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ··tag:·'v2.0.0'
with tag:·"v2.0.0"
Open
tag: 'v2.0.0',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ,
Open
},
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ··hash:·'1fb2cd74a2f3957263d57de06962d19045769890'
with hash:·"1fb2cd74a2f3957263d57de06962d19045769890"
Open
hash: '1fb2cd74a2f3957263d57de06962d19045769890',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ··ENV.AWS_S3_BUCKET·=·'lol'
with ENV.AWS_S3_BUCKET·=·"lol"
Open
ENV.AWS_S3_BUCKET = 'lol';
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ········fs.createReadStream.returns('read-stream'
with ······fs.createReadStream.returns("read-stream"
Open
fs.createReadStream.returns('read-stream');
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ········mime.lookup.returns('text/plain'
with ······mime.lookup.returns("text/plain"
Open
mime.lookup.returns('text/plain');
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ··············hash:·'1fb2cd74a2f3957263d57de06962d19045769890'
with ············hash:·"1fb2cd74a2f3957263d57de06962d19045769890"
Open
hash: '1fb2cd74a2f3957263d57de06962d19045769890',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
{
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ··············hash:·'1fb2cd74a2f3957263d57de06962d19045769890'
with ············hash:·"1fb2cd74a2f3957263d57de06962d19045769890"
Open
hash: '1fb2cd74a2f3957263d57de06962d19045769890',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ··},
with }
Open
},
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace './cloudpages'
with "./cloudpages"
Open
const initCloudPages = require('./cloudpages');
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ,
Open
putBucketAclAsync: sinon.stub(),
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'ENV',·'cloudPages',·'glob',·'git',·'s3',·'fs',·'mime']).then(⏎······
with ⏎······"ENV",⏎······"cloudPages",⏎······"glob",⏎······"git",⏎······"s3",⏎······"fs",⏎······"mime"⏎····]).then(
Open
$.run(['ENV', 'cloudPages', 'glob', 'git', 's3', 'fs', 'mime']).then(
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
},
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'sinon'
with "sinon"
Open
const sinon = require('sinon');
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'cloudPages'
with "cloudPages"
Open
describe('cloudPages', () => {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'fs'
with "fs"
Open
$.constant('fs', {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'lol'
with "lol"
Open
ENV.AWS_S3_BUCKET = 'lol';
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace '1.0.0'
with "1.0.0"
Open
version: '1.0.0',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
time: TEST_BASE_TIME - SIX_DAYS / 3,
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
time: TEST_BASE_TIME - SIX_DAYS / 2,
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
last: 1,
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'ENV',·'cloudPages'
with "ENV",·"cloudPages"
Open
$.run(['ENV', 'cloudPages']).then(({ ENV, cloudPages }) => {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'ENV',·'cloudPages'
with "ENV",·"cloudPages"
Open
$.run(['ENV', 'cloudPages']).then(({ ENV, cloudPages }) => {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
time: TEST_BASE_TIME - SIX_DAYS / 4,
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
},
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
);
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'knifecycle'
with "knifecycle"
Open
const Knifecycle = require('knifecycle').default;
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'lol'
with "lol"
Open
ENV.AWS_S3_BUCKET = 'lol';
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'E_NOT_SUPPOSED_TO_BE_HERE'
with "E_NOT_SUPPOSED_TO_BE_HERE"
Open
throw new YError('E_NOT_SUPPOSED_TO_BE_HERE');
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ,
Open
nodir: true,
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
Promise.resolve([
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
{
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'mime'
with "mime"
Open
$.constant('mime', {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ,
Open
],
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'should·work·with·a·file·found'
with "should·work·with·a·file·found"
Open
it('should work with a file found', () =>
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
s3.putBucketAclAsync.returns(Promise.resolve());
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ············
with ··········
Open
{
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'ENV',·'cloudPages',·'glob'
with "ENV",·"cloudPages",·"glob"
Open
$.run(['ENV', 'cloudPages', 'glob']).then(({ ENV, cloudPages, glob }) => {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace '../www/**/*'
with "../www/**/*"
Open
'../www/**/*',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
{
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ··tag:·'v2.0.0'
with tag:·"v2.0.0"
Open
tag: 'v2.0.0',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'use·strict'
with "use·strict"
Open
'use strict';
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'yerror'
with "yerror"
Open
const YError = require('yerror');
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'glob'
with "glob"
Open
$.constant('glob', sinon.stub());
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'should·fail·with·no·version'
with "should·fail·with·no·version"
Open
it('should fail with no version', () =>
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'E_NOT_SUPPOSED_TO_BE_HERE'
with "E_NOT_SUPPOSED_TO_BE_HERE"
Open
throw new YError('E_NOT_SUPPOSED_TO_BE_HERE');
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
])
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ············delay:·SIX_DAYS,
with ··········delay:·SIX_DAYS
Open
delay: SIX_DAYS,
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ··ignore:·'node_modules/**/*'
with ignore:·"node_modules/**/*"
Open
ignore: 'node_modules/**/*',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
}).then(() => {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ··Bucket:·'lol'
with Bucket:·"lol"
Open
Bucket: 'lol',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ··········dir:·'./dist'
with ········dir:·"./dist"
Open
dir: './dist',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ··················],
with ················]
Open
],
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
[
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
{
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
{
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ··············},
with ············}
Open
},
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ··········
with ········
Open
]);
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ················ContentType:·'text/plain'
with ··············ContentType:·"text/plain"
Open
ContentType: 'text/plain',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
assert.deepEqual(s3.putBucketWebsiteAsync.args, [
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
Redirect: {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
[
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ··········version:·'1.0.0',
with ········version:·"1.0.0"
Open
version: '1.0.0',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
dot: true,
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ················Key:·'index.html',
with ··············Key:·"index.html"
Open
Key: 'index.html',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
[
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ············],
with ··········]
Open
],
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
},
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
},
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ··},
with }
Open
},
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
},
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ············],
with ··········]
Open
],
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
absolute: true,
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ············],
with ··········]
Open
],
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
assert.deepEqual(s3.putBucketAclAsync.args, [
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
{
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
assert.deepEqual(s3.putObjectAsync.args, [
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ················Body:·'read-stream'
with ··············Body:·"read-stream"
Open
Body: 'read-stream',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ··············},
with ············}
Open
},
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ················Bucket:·'lol'
with ··············Bucket:·"lol"
Open
Bucket: 'lol',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ····················Suffix:·'index.html',
with ··················Suffix:·"index.html"
Open
Suffix: 'index.html',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ··········files:·'**/*'
with ········files:·"**/*"
Open
files: '**/*',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ··············
with ············
Open
{
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
[
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
WebsiteConfiguration: {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
IndexDocument: {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
},
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
Condition: {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ························ReplaceKeyWith:·'1.0.0/index.html',
with ······················ReplaceKeyWith:·"1.0.0/index.html"
Open
ReplaceKeyWith: '1.0.0/index.html',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
assert.deepEqual(glob.args, [
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ················dir:·'./dist'
with ··············dir:·"./dist"
Open
dir: './dist',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ··············},
with ············}
Open
},
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ····················Key:·'1.0.0/index.html',
with ··················Key:·"1.0.0/index.html"
Open
Key: '1.0.0/index.html',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
]);
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
ErrorDocument: {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ······}⏎····
with ····}
Open
}
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ················nodir:·true,
with ··············nodir:·true
Open
nodir: true,
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ··},
with }
Open
},
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
RoutingRules: [
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ··········gitDir:·'.'
with ········gitDir:·"."
Open
gitDir: '.',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ··'dist/**/*'
with "dist/**/*"
Open
'dist/**/*',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
]);
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
{
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ··KeyPrefixEquals:·'/index.html',
with KeyPrefixEquals:·"/index.html"
Open
KeyPrefixEquals: '/index.html',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ······················},
with ····················}
Open
},
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ··ignore:·'dist/node_modules/**/*'
with ignore:·"dist/node_modules/**/*"
Open
ignore: 'dist/node_modules/**/*',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ················ACL:·'public-read'
with ··············ACL:·"public-read"
Open
ACL: 'public-read',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
]);
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
});
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ············],
with ··········]
Open
],
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ················ACL:·'public-read'
with ··············ACL:·"public-read"
Open
ACL: 'public-read',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ················Bucket:·'lol',
with ··············Bucket:·"lol"
Open
Bucket: 'lol',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace ····················},
with ··················}
Open
},
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/