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

Errors, but no errors #84

Closed
lagden opened this issue Mar 14, 2016 · 3 comments
Closed

Errors, but no errors #84

lagden opened this issue Mar 14, 2016 · 3 comments

Comments

@lagden
Copy link

lagden commented Mar 14, 2016

Hi,

I've got this problem using xo global version

screen shot 2016-03-14 at 12 44 52

Probably solution: airbnb/javascript#728

node v5.6.0
xo v0.13.0
@lagden
Copy link
Author

lagden commented Mar 14, 2016

I left with this settings to avoid errors.

{
  "xo": {
    "rules": {
      "no-empty-label": [0],
      "space-before-keywords": [0],
      "space-after-keywords": [0],
      "space-return-throw-case": [0]
    }
  }
}

workaround!! 😅

@sindresorhus
Copy link
Member

Make sure your local XO is also updated. This was fixed in XO 0.13.0. So should not happen.

Can you give me the output of $ npm ls?

@lagden
Copy link
Author

lagden commented Mar 14, 2016

I found the problem!

$ npm ls | ack xo
│ │ │ └── indexof@0.0.1
├── eslint-config-xo@0.6.0 extraneous <--- HERE
├── gulp-xo@0.9.0
└─┬ xo@0.13.0
  ├── eslint-config-xo@0.12.0 
  └── xo-init@0.3.6

Thanks for helping! Fixed! ☺️

@lagden lagden closed this as completed Mar 14, 2016
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

2 participants