Merge custom options with jscsrc
OliverJAsh opened this issue · 4 comments
If I don't specify a config, JSCS will read my .jscsrc
file. If I specify other options, such as esnext
, grunt-jscs will only use these options—it will not attempt to merge them with my .jscsrc
file.
Could we merge with the .jscsrc
file?
jscs: {
src: "path/to/files/*.js",
options: {
config: true,
requireCurlyBraces: [ "if" ]
}
}
This doesn't work for you?
It doesn't work when config: '.jscsrc'
.
On Mon, 22 Jun 2015 at 01:01 Oleg Gaidarenko notifications@github.com
wrote:
jscs: {
src: "path/to/files/*.js",
options: {
config: true,
requireCurlyBraces: [ "if" ]
}
}This doesn't work for you?
—
Reply to this email directly or view it on GitHub
#92 (comment).
Hm, i added test that should check exactly this use-case - 49936c6
Do not see any errors, would you mind providing a pr with test or repo with this reproducible issue?
Did you resolve the issue?