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

--fix option doesnt work #19

Closed
netei opened this issue Nov 20, 2015 · 4 comments
Closed

--fix option doesnt work #19

netei opened this issue Nov 20, 2015 · 4 comments

Comments

@netei
Copy link
Contributor

netei commented Nov 20, 2015

Take this .eslintrc

{
  "rules": {
    "space-infix-ops": 2
  }
}

and this js

var foo=function (bar) {
  return bar;
};

eslint . and eslint_d . both produce the same output :

/tmp/eslint_t/bootstrap.js
  1:8  error  Infix operators must be spaced  space-infix-ops

However

eslint . --fix does modify the file
eslint_d . --fix doesn't modify the file

@netei
Copy link
Contributor Author

netei commented Nov 20, 2015

eslint_d --version
v1.9.0 (eslint_d v2.3.2)

eslint --version
v1.9.0

@zurawiki
Copy link
Contributor

zurawiki commented Dec 7, 2015

Can confirm --fix isn't working for me either. I would like to see this bug fixed

@mantoni
Copy link
Owner

mantoni commented Feb 24, 2016

Sorry to let you wait this long. Fixed in 2.5.1.

@mantoni mantoni closed this as completed Feb 24, 2016
@netei
Copy link
Contributor Author

netei commented Feb 25, 2016

Great :-)

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