Files
vscode-cpptools/Extension/tslint.json
T
Andrew Wang ff31eef0a2 Extension Development Improvements (#1941)
1. Updated tasks.json to 2.0
2. Added tslint problem matcher
   - Weird issue that problem does not disappear when resolved.
3. Adding tslint for class and function names.
   - class must be in PascalCase
   - funcitons must be in camelCase
4. Addressing vulnerability warning
   - https://github.com/Microsoft/vscode/issues/49146
2018-05-07 11:22:12 -07:00

32 lines
1.1 KiB
JSON

{
"rules": {
"curly": true,
"ext-variable-name": [
true,
["class", "pascal"],
["function", "camel"]
],
"file-header": [true, ".*"],
"indent": [true, "spaces", 4],
"new-parens": true,
"no-consecutive-blank-lines": true,
"no-construct": true,
"no-duplicate-variable": true,
"no-unused-expression-chai": true,
"no-unused-variable": true,
"no-var-keyword": true,
"one-line": [true, "check-catch", "check-finally", "check-else", "check-open-brace", "check-whitespace"],
"promise-must-complete": true,
"semicolon": true,
"triple-equals": true,
"type-literal-delimiter": true,
"typedef": [true, "variable-declaration", "call-signature"],
"whitespace": [true, "check-branch", "check-operator", "check-separator", "check-preblock", "check-type"]
},
"rulesDirectory": [
"node_modules/tslint-microsoft-contrib",
"node_modules/tslint-no-unused-expression-chai/rules",
"node_modules/vrsource-tslint-rules/rules"
]
}