erulabs/erudb

View on GitHub
gulpfile.babel.js

Summary

Maintainability
A
0 mins
Test Coverage

Unexpected tab character.
Open

        .pipe(babel({ presets: [ 'es2015' ] }))
Severity: Minor
Found in gulpfile.babel.js by eslint

disallow all tabs (no-tabs)

Some style guides don't allow the use of tab characters at all, including within comments.

Rule Details

This rule looks for tabs anywhere inside a file: code, comments or anything else.

Examples of incorrect code for this rule:

var a /t= 2;

/**
* /t/t it's a test function
*/
function test(){}

var x = 1; // /t test

Examples of correct code for this rule:

var a = 2;

/**
* it's a test function
*/
function test(){}

var x = 1; // test

When Not To Use It

If you have established a standard where having tabs is fine.

Compatibility

Unexpected tab character.
Open

        .pipe(gulp.dest(DEST))
Severity: Minor
Found in gulpfile.babel.js by eslint

disallow all tabs (no-tabs)

Some style guides don't allow the use of tab characters at all, including within comments.

Rule Details

This rule looks for tabs anywhere inside a file: code, comments or anything else.

Examples of incorrect code for this rule:

var a /t= 2;

/**
* /t/t it's a test function
*/
function test(){}

var x = 1; // /t test

Examples of correct code for this rule:

var a = 2;

/**
* it's a test function
*/
function test(){}

var x = 1; // test

When Not To Use It

If you have established a standard where having tabs is fine.

Compatibility

Import in body of module; reorder to top.
Open

import sourcemaps from 'gulp-sourcemaps'
Severity: Minor
Found in gulpfile.babel.js by eslint

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

Import in body of module; reorder to top.
Open

import prepend from 'prepend-file'
Severity: Minor
Found in gulpfile.babel.js by eslint

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

Import in body of module; reorder to top.
Open

import mocha from 'gulp-mocha'
Severity: Minor
Found in gulpfile.babel.js by eslint

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

Import in body of module; reorder to top.
Open

import eslint from 'gulp-eslint'
Severity: Minor
Found in gulpfile.babel.js by eslint

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

Import in body of module; reorder to top.
Open

import fs from 'fs'
Severity: Minor
Found in gulpfile.babel.js by eslint

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

Import in body of module; reorder to top.
Open

import del from 'del'
Severity: Minor
Found in gulpfile.babel.js by eslint

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

Import in body of module; reorder to top.
Open

import server from 'gulp-develop-server'
Severity: Minor
Found in gulpfile.babel.js by eslint

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

Import in body of module; reorder to top.
Open

import gulp from 'gulp'
Severity: Minor
Found in gulpfile.babel.js by eslint

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

Import in body of module; reorder to top.
Open

import babel from 'gulp-babel'
Severity: Minor
Found in gulpfile.babel.js by eslint

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

There are no issues that match your filters.

Category
Status