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

Using a preset package that is scoped in an organization #486

Open
AgustinCroce opened this issue May 24, 2017 · 0 comments
Open

Using a preset package that is scoped in an organization #486

AgustinCroce opened this issue May 24, 2017 · 0 comments

Comments

@AgustinCroce
Copy link

Hi,

In our organization we made a preset npm package(https://www.npmjs.com/package/@exo-dev/esformatter-preset-exo). We want to add it to our .esformatter file so we created the next file:

{
  "extends": ["preset:exo"]
}

We got the next error:

Error: index.js Can't parse configuration file '.esformatter'. Exception: Cannot find module 'esformatter-preset-exo' from '/home/agustinc/project'

That's right because the package is named @exo-dev/esformatter-preset-exo in the node_modules folder.

How can we use the extends on the .esformatter file to reference our package?

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

1 participant