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

airbnb config #3

Closed
maitriyogin opened this issue Mar 8, 2016 · 6 comments
Closed

airbnb config #3

maitriyogin opened this issue Mar 8, 2016 · 6 comments

Comments

@maitriyogin
Copy link

Hi,
I'v tried running this against airbnb's config and got the following error:
/usr/local/lib/node_modules/eslint-to-editorconfig/node_modules/eslint/lib/config/config-file.js:332
throw e;
^

Error: /usr/local/lib/node_modules/eslint-config-airbnb/rules/best-practices.js:
Configuration for rule "no-labels" is invalid:
Value "2,[object Object]" has more items than allowed.

Any ideas?
/Stephen.

@quasipedia
Copy link

Same problem here. 😞

@matthewadams
Copy link

Same here except using standard (see https://standardjs.com)

@matthewadams
Copy link

Looks like this is related to standard/eslint-config-standard#23

@snanovskyi
Copy link
Owner

@maitriyogin @quasipedia @matthewadams sorry for not responding. Was busy at work and university. And a bit lazy :)
It caused by ESLint update to 2.0 where some rules were changed/removed. I will fix it on weekend.

@matthewadams
Copy link

That'd be sweet, my man. Thanks.

@snanovskyi
Copy link
Owner

@matthewadams @quasipedia @maitriyogin I updated the package. Install it locally(or globally) against all your configs.
It loads dependencies from node_modules where it installed. So if you use Airbnb's config, install it in the same directory.

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

4 participants