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

No warning for 4 spaces indent #688

Closed
TAQ2 opened this issue Nov 17, 2016 · 3 comments

Comments

@TAQ2
Copy link

commented Nov 17, 2016

The following code does not raise an error when there are four spaces (lines 3 and 4). I am using the latest version of standard

export default db => {
  return db.collection('option').insertMany([
      { },
      { }
  ])
}
@feross

This comment has been minimized.

Copy link
Member

commented Nov 22, 2016

This is a bug with the indent rule in ESLint. I filed an issue for you. You can follow the progress there:

eslint/eslint#7637

@feross feross closed this Nov 22, 2016

@NoraGithub

This comment has been minimized.

Copy link

commented Jan 9, 2018

@feross Do you know is it fixed? It happened here but it's the newest version.

standard --fix doesn't fix extra indent.

  10:5  error  Expected indentation of 2 spaces but found 4  indent
  11:9  error  Expected indentation of 6 spaces but found 8  indent
  13:5  error  Expected indentation of 2 spaces but found 4  indent
  14:9  error  Expected indentation of 6 spaces but found 8  indent
@feross

This comment has been minimized.

Copy link
Member

commented May 10, 2018

@NoraGithub Please open a new issue and include the code that is causing a problem for you, so we can properly investigate your issue.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 8, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
3 participants
You can’t perform that action at this time.