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

Docs: Suggestions for `.hintrc` formats #1174

Closed
aligneddev opened this Issue Jul 12, 2018 · 2 comments

Comments

Projects
None yet
3 participants
@aligneddev

aligneddev commented Jul 12, 2018

https://sonarwhal.com/docs/user-guide/further-configuration/sonarwhalrc-formats/index.html

It'd be great to state where this .sonarwhalrc file exists. I'm still searching after an npm install -g --engine-strict sonarwhal.

from the sonarwhal --help, I assumed that sonarwhal -f 'formatter-stylish' would work after a npm install -g @sonarwhal/formatter-stylish

Thanks

@aligneddev

This comment has been minimized.

aligneddev commented Jul 12, 2018

I found it ;-) C:\Users{user}\AppData\Roaming\npm\node_modules\sonarwhal.sonarwhalrc
and I was close on the -f, but some more docs there would have helped
sonarwhal -f stylish https://localhost:44738. The output of that is "Finishing...."

@molant

This comment has been minimized.

Member

molant commented Jul 12, 2018

You actually need to create the sonarwhalrc file in your home folder or the folder where you are going to run sonarwhal.
The getting started guide should give you more information on this: https://sonarwhal.com/docs/user-guide/

I also agree that the formats documentation is very incomplete. I believe we have an issue for that.

Thanks!

@alrra alrra changed the title from [docs] suggestions for '.sonarwhalrc formats' to Docs: Suggestions for `.sonarwhalrc` formats Jul 13, 2018

@molant molant changed the title from Docs: Suggestions for `.sonarwhalrc` formats to Docs: Suggestions for `.hintrc` formats Aug 8, 2018

@molant molant self-assigned this Oct 22, 2018

@molant molant added this to the 1810-1 milestone Oct 22, 2018

molant added a commit to molant/hint that referenced this issue Oct 22, 2018

molant added a commit to molant/hint that referenced this issue Oct 23, 2018

@alrra alrra closed this in a05e45b Oct 24, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment