The TSLint.json config file (https://github.com/palantir/tslint) supports extends and a rulesDirectory array like so
{
"extends": [
"tslint-microsoft-contrib",
"tslint-config-security"
],
"rulesDirectory": [
"node_modules/tslint-eslint-rules/dist/rules",
"node_modules/tslint-microsoft-contrib",
"node_modules/tslint-config-security"
]
}Run Code Online (Sandbox Code Playgroud)
The docs seem slightly open to interpretation for new users unfamiliar to the tool.
I would appreciate if anyone could clarify a few points on the behaviour of extends and rulesDirectory in relation to use in the VS Code editor and tslinting in general.
Does extends only provide a default configuration …
解决和调试Visual Studio Code的最佳方法是什么?
在Visual Studio Code中进行编辑时,我在某些代码片段/建议扩展中遇到了冲突,想尝试找到根本原因。
附言:我很高兴能解决扩展之间的冲突。如果您之前曾遇到过此问题,请随时鸣叫(几秒钟后内置建议完全覆盖扩展建议)