Scrutinizer can't find .jshintrc

1k views Asked by At

I'm trying out tools for opensource projects, like travis and scrutinizer. In my root folder of github project I have both .jshintrc and .scrutinizer.yml. But, when I enable jshint tool in scrutinizer config file it reports that

Can't find config file: /.jshintrc 

My repository: https://github.com/Misiur/Jawan

Did anybody encounter this error earlier?

1

There are 1 answers

0
Misiur On

Hm, this was a bit tricky, but it seems there were some changes in scrutinizer config.

You have to access scrutinizer -> your respository -> settings -> tick the "inherit" checkbox

OR

Add "inherit": true in your .scrutinizer.yml.

It seems there are four levels of configuration per check: checkout configuration (triggered by specific commit message), configuration for this specific inspection, repository configuration (.scrutinizer.yml in your repository), and global configuration for your whole SC account.