Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nodeca throwing error when code is definitely correct.... #3

Open
mikeerickson opened this issue Feb 17, 2016 · 1 comment
Open

Nodeca throwing error when code is definitely correct.... #3

mikeerickson opened this issue Feb 17, 2016 · 1 comment
Assignees

Comments

@mikeerickson
Copy link

I have a simple gulp tasks which is throwing an error

import gulp   from 'gulp'
import msg    from 'gulp-messenger'
import run    from 'run-sequence'

msg.init({showPipeFile: false})

gulp.task('build', () => {
  run('clean:dist', 'babelify')
})

It is complaining the line where run is called is not indented with a single tab, when in fact is definitely is

8:3 warning Expected indentation of 1 tab character but found 0 indent
8:3 error Bad indentation (0 instead 1) nodeca/indent

So, to help matters, tried disabling the rules for this file but thinking this should still not throw errors

I have retyped this code several times to make sure it is accurate, still throws errors

@puzrin
Copy link
Member

puzrin commented Feb 17, 2016

Looks correct. Could you create a test repo to easy reproduce?

Also, i'd recomment migrate to native indent rule in eslint 2.0+. At least, try it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants