简体   繁体   中英

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. Like excluding 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 . 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.
Here are more details of this issue: https://github.com/Microsoft/vscode-jscs/issues/8

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