简体   繁体   中英

JSCS hangs when excludeFiles property added to .jscsrc

I installed istanbul to catch coverage on my tests, which started to cause jscs to throw a lot of errors on the coverage directory.

I tried putting "excludeFiles": ["coverage/**", "test/fixtures/**"] into my .jscsrc file but now that is causing jscs to hang indefinitely when I run it. control c does not work to exit.

I tried a couple different patterns including just the directory and with a preceding ./ for the path name. Same behavior.

好吧,事实证明,当我将它放在rc文件的顶部时,它可以工作。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM