简体   繁体   English

在jscs vscode中排除文件

[英]Exclude files in jscs vscode

There is a .jscsrc file in the root directory of the project and it has settings set by other people and I want to add my own options but only on my own vscode. 项目的根目录中有一个.jscsrc文件,它具有其他人设置的设置,我想添加自己的选项,但只能在自己的vscode上添加。 Like excluding gulpfile.js . 就像排除gulpfile.js一样。

I currently have the snippet below in my settings. 目前,我的设置中包含以下代码段。

"jscs.configuration": {
    "excludeFiles": ["gulpfile.js"]
}

But it still shows indention errors from gulpfile.js . 但是它仍然显示来自gulpfile.js缩进错误。 And I do not want to touch settings that are shared. 而且我不想触摸共享的设置。

It seems to be a bug in the current version (0.2.0 at the moment) of the vscode jscs plugin. vscode jscs插件的当前版本(当前为0.2.0)似乎是一个错误。
Here are more details of this issue: https://github.com/Microsoft/vscode-jscs/issues/8 这是此问题的更多详细信息: https : //github.com/Microsoft/vscode-jscs/issues/8

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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