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

Not sure about how to use the plugin #8

Open
jkevingutierrez opened this issue Mar 6, 2019 · 2 comments
Open

Not sure about how to use the plugin #8

jkevingutierrez opened this issue Mar 6, 2019 · 2 comments

Comments

@jkevingutierrez
Copy link

Hi,

I tried to use this plugin following the next steps:
npm i -D eslint-plugin-closure

Modified .eslintrc.json
.eslintrc.json:

{
  ...
  "extends": ["closure"],
  ...
}

But when I tried to run eslint, it shows the message:

Cannot find module 'eslint-config-closure'

I also tried using "closure-es6", "closure-base", "plugin:closure" but none of them worked.

It would be great to have documentation about the right way to use this plugin.

@vikr01
Copy link

vikr01 commented Mar 6, 2019

You installed a plugin and tried to use it as a config. You probably want to install eslint-config-closure-es6 if you’re trying to use closure-es6.

@jkevingutierrez
Copy link
Author

Oh sorry, my bad! Thanks for your help!

PD: it would be good to have documentation or any information in the README.md about those configs.

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