I tried by disabling all rules in local and then opened the TS file after analysis it does not give any error but in sonar qube portal error exists.
below is the output i get when try to update bindings. it says “All SonarLint bindings succesfully updated” and “No result returned”
[Trace - 2:55:53 PM] Sending request 'workspace/executeCommand - (123)'.
Params: {
"command": "SonarLint.UpdateAllBindings",
"arguments": []
}
[Trace - 2:55:53 PM] Received notification 'window/showMessage'.
Params: {
"type": 3,
"message": "All SonarLint bindings succesfully updated"
}
[Trace - 2:55:53 PM] Received response 'workspace/executeCommand - (123)' in 8ms.
No result returned.
[Trace - 3:01:22 PM] Sending notification 'textDocument/didOpen'.
Params: {
"textDocument": {
"uri": "file:///c%3A/Users/xxxxx/ClientApp/src/app/app.component.ts",
"languageId": "typescript",
"version": 1,
"text": "Data Removed"
}
}
[Trace - 3:01:22 PM] Sending request 'textDocument/codeAction - (124)'.
Params: {
"textDocument": {
"uri": "file:///c%3A/Users/xxxxx/ClientApp/src/app/app.component.ts"
},
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 0,
"character": 0
}
},
"context": {
"diagnostics": []
}
}
[Trace - 3:01:22 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[Debug - 15:01:22.819] Queuing analysis of file 'file:///c%3A/Users/xxxxx/ClientApp/src/app/app.component.ts'"
}
[Debug - 15:01:22.819] Queuing analysis of file 'file:///c%3A/Users/xxxxx/ClientApp/src/app/app.component.ts'
[Trace - 3:01:22 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[Info - 15:01:22.832] Analyzing file 'file:///c%3A/Users/xxxxx/ClientApp/src/app/app.component.ts'..."
}
[Info - 15:01:22.832] Analyzing file 'file:///c%3A/Users/xxxxx/ClientApp/src/app/app.component.ts'...
[Trace - 3:01:22 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[Debug - 15:01:22.833] Analysis triggered on 'file:///c%3A/Users/xxxxx/ClientApp/src/app/app.component.ts' with configuration: \n[\n baseDir: c:\\Users\\U640247\\II\\MAIN2\\8_0\\WEB\\SSCOT\\EAP.SSCOT.UI\\EAP.SSCOT.UI\\ClientApp\n extraProperties: {}\n excludedRules: [typescript:S2737, typescript:S2814, typescript:S1764, typescript:S1125, typescript:S1526, typescript:S1525, typescript:S3984, typescript:S3981, typescript:S4158, typescript:S4030, typescript:S4275, typescript:S1533, typescript:S3516, typescript:S4325, typescript:S1854, typescript:S1656, typescript:S4524, typescript:S2589, typescript:S3799, typescript:S4123, typescript:S4124, typescript:S2068, typescript:S4043, typescript:S108, typescript:S905, typescript:S4619, typescript:S1940, typescript:S1301, typescript:S1862, typescript:S3923, typescript:S2757, typescript:S2234, typescript:S4335, typescript:S1226, typescript:S2870, typescript:S2871, typescript:S1264, typescript:S1143, typescript:S878, typescript:S1516, typescript:S1751, typescript:S3616, typescript:S1871, typescript:S3972, typescript:S2201, typescript:S4621, typescript:S4822, typescript:S3699, typescript:S2688, typescript:S3854, typescript:S1479, typescript:S4623, typescript:S1116, typescript:S2681, typescript:S4144, typescript:S2123, typescript:S1110, typescript:S4140, typescript:S4143]\n includedRules: []\n inputFiles: [\n file:///c%3A/Users/xxxxx/ClientApp/src/app/app.component.ts (UTF-8) [ts]\n ]\n]\n"
}
[Debug - 15:01:22.833] Analysis triggered on 'file:///c%3A/Users/xxxxx/ClientApp/src/app/app.component.ts' with configuration:
[
baseDir: c:\Users\xxxxx\ClientApp
extraProperties: {}
excludedRules: [typescript:S2737, typescript:S2814, typescript:S1764, typescript:S1125, typescript:S1526, typescript:S1525, typescript:S3984, typescript:S3981, typescript:S4158, typescript:S4030, typescript:S4275, typescript:S1533, typescript:S3516, typescript:S4325, typescript:S1854, typescript:S1656, typescript:S4524, typescript:S2589, typescript:S3799, typescript:S4123, typescript:S4124, typescript:S2068, typescript:S4043, typescript:S108, typescript:S905, typescript:S4619, typescript:S1940, typescript:S1301, typescript:S1862, typescript:S3923, typescript:S2757, typescript:S2234, typescript:S4335, typescript:S1226, typescript:S2870, typescript:S2871, typescript:S1264, typescript:S1143, typescript:S878, typescript:S1516, typescript:S1751, typescript:S3616, typescript:S1871, typescript:S3972, typescript:S2201, typescript:S4621, typescript:S4822, typescript:S3699, typescript:S2688, typescript:S3854, typescript:S1479, typescript:S4623, typescript:S1116, typescript:S2681, typescript:S4144, typescript:S2123, typescript:S1110, typescript:S4140, typescript:S4143]
includedRules: []
inputFiles: [
file:///c%3A/Users/xxxxx/ClientApp/src/app/app.component.ts (UTF-8) [ts]
]
]
[Trace - 3:01:22 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[Debug - 15:01:22.840] Available languages:"
}
[Debug - 15:01:22.840] Available languages:
[Trace - 3:01:22 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[Debug - 15:01:22.840] * Python => \"py\""
}
[Debug - 15:01:22.840] * Python => "py"
[Trace - 3:01:22 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[Debug - 15:01:22.841] * Java => \"java\""
}
[Debug - 15:01:22.841] * Java => "java"
[Trace - 3:01:22 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[Debug - 15:01:22.841] * HTML => \"web\""
}
[Debug - 15:01:22.841] * HTML => "web"
[Trace - 3:01:22 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[Debug - 15:01:22.845] * JSP => \"jsp\""
}
[Debug - 15:01:22.845] * JSP => "jsp"
[Trace - 3:01:22 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[Debug - 15:01:22.846] * PHP => \"php\""
}
[Debug - 15:01:22.846] * PHP => "php"
[Trace - 3:01:22 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[Debug - 15:01:22.846] * TypeScript => \"ts\""
}
[Debug - 15:01:22.846] * TypeScript => "ts"
[Trace - 3:01:22 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[Debug - 15:01:22.847] * JavaScript => \"js\""
}
[Debug - 15:01:22.847] * JavaScript => "js"
[Trace - 3:01:22 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[Debug - 15:01:22.847] Start analysis"
}
[Debug - 15:01:22.847] Start analysis
[Trace - 3:01:22 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[Debug - 15:01:22.849] Declared extensions of language Python were converted to py: **/*.py"
}
[Debug - 15:01:22.849] Declared extensions of language Python were converted to py: **/*.py
[Trace - 3:01:22 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[Debug - 15:01:22.850] Declared extensions of language Java were converted to java: **/*.java,**/*.jav"
}
[Debug - 15:01:22.850] Declared extensions of language Java were converted to java: **/*.java,**/*.jav
[Trace - 3:01:22 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[Debug - 15:01:22.850] Declared extensions of language HTML were converted to web: **/*.html,**/*.xhtml,**/*.cshtml,**/*.vbhtml,**/*.aspx,**/*.ascx,**/*.rhtml,**/*.erb,**/*.shtm,**/*.shtml"
}
[Debug - 15:01:22.850] Declared extensions of language HTML were converted to web: **/*.html,**/*.xhtml,**/*.cshtml,**/*.vbhtml,**/*.aspx,**/*.ascx,**/*.rhtml,**/*.erb,**/*.shtm,**/*.shtml
[Trace - 3:01:22 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[Debug - 15:01:22.851] Declared extensions of language JSP were converted to jsp: **/*.jsp,**/*.jspf,**/*.jspx"
}
[Debug - 15:01:22.851] Declared extensions of language JSP were converted to jsp: **/*.jsp,**/*.jspf,**/*.jspx
[Trace - 3:01:22 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[Debug - 15:01:22.852] Declared extensions of language PHP were converted to php: **/*.php,**/*.php3,**/*.php4,**/*.php5,**/*.phtml,**/*.inc"
}
[Debug - 15:01:22.852] Declared extensions of language PHP were converted to php: **/*.php,**/*.php3,**/*.php4,**/*.php5,**/*.phtml,**/*.inc
[Trace - 3:01:22 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[Debug - 15:01:22.852] Declared extensions of language TypeScript were converted to ts: **/*.ts,**/*.tsx"
}
[Debug - 15:01:22.852] Declared extensions of language TypeScript were converted to ts: **/*.ts,**/*.tsx
[Trace - 3:01:22 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[Debug - 15:01:22.853] Declared extensions of language JavaScript were converted to js: **/*.js,**/*.jsx,**/*.vue"
}
[Debug - 15:01:22.853] Declared extensions of language JavaScript were converted to js: **/*.js,**/*.jsx,**/*.vue
[Trace - 3:01:22 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[Info - 15:01:22.855] Index files"
}
[Info - 15:01:22.855] Index files
[Trace - 3:01:22 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[Debug - 15:01:22.856] Language of file 'file:///c%3A/Users/xxxxx/ClientApp/src/app/app.component.ts' is set to 'ts'"
}
[Debug - 15:01:22.856] Language of file 'file:///c%3A/Users/xxxxx/ClientApp/src/app/app.component.ts' is set to 'ts'
[Trace - 3:01:22 PM] Received response 'textDocument/codeAction - (124)' in 119ms.
Result: []
[Trace - 3:01:22 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[Info - 15:01:22.941] 1 file indexed"
}
[Info - 15:01:22.941] 1 file indexed
[Trace - 3:01:22 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[Debug - 15:01:22.971] 'JavaSquidSensor' skipped because there is no related file in current project"
}
[Debug - 15:01:22.971] 'JavaSquidSensor' skipped because there is no related file in current project
[Trace - 3:01:22 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[Debug - 15:01:22.972] 'Python Sensor' skipped because there is no related file in current project"
}
[Debug - 15:01:22.972] 'Python Sensor' skipped because there is no related file in current project
[Trace - 3:01:22 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[Debug - 15:01:22.972] Execute Sensor: JavaXmlSensor"
}
[Debug - 15:01:22.972] Execute Sensor: JavaXmlSensor
[Trace - 3:01:22 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[Debug - 15:01:22.973] Execute Sensor: HTML"
}
[Debug - 15:01:22.973] Execute Sensor: HTML
[Trace - 3:01:22 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[Debug - 15:01:22.974] 'PHP sensor' skipped because there is no related file in current project"
}
[Debug - 15:01:22.974] 'PHP sensor' skipped because there is no related file in current project
[Trace - 3:01:22 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[Debug - 15:01:22.976] 'Analyzer for \"php.ini\" files' skipped because there is no related file in current project"
}
[Debug - 15:01:22.976] 'Analyzer for "php.ini" files' skipped because there is no related file in current project
[Trace - 3:01:22 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[Debug - 15:01:22.977] Execute Sensor: Contextual SonarTS"
}
[Debug - 15:01:22.977] Execute Sensor: Contextual SonarTS
[Trace - 3:01:22 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[Info - 15:01:22.978] Started SonarTS Analysis"
}
[Info - 15:01:22.978] Started SonarTS Analysis
[Trace - 3:01:23 PM] Sending request 'textDocument/codeAction - (125)'.
Params: {
"textDocument": {
"uri": "file:///c%3A/Users/xxxxx/ClientApp/src/app/app.component.ts"
},
"range": {
"start": {
"line": 124,
"character": 49
},
"end": {
"line": 124,
"character": 49
}
},
"context": {
"diagnostics": []
}
}
[Trace - 3:01:23 PM] Received response 'textDocument/codeAction - (125)' in 2ms.
Result: []
[Trace - 3:01:23 PM] Sending request 'textDocument/codeAction - (126)'.
Params: {
"textDocument": {
"uri": "file:///c%3A/Users/xxxxx/ClientApp/src/app/app.component.ts"
},
"range": {
"start": {
"line": 124,
"character": 49
},
"end": {
"line": 124,
"character": 49
}
},
"context": {
"diagnostics": []
}
}
[Trace - 3:01:23 PM] Received response 'textDocument/codeAction - (126)' in 18ms.
Result: []
[Trace - 3:01:38 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[Info - 15:01:38.873] Finished SonarTS Analysis"
}
[Info - 15:01:38.873] Finished SonarTS Analysis
[Trace - 3:01:38 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[Debug - 15:01:38.873] 'SonarJS' skipped because there is no related file in current project"
}
[Debug - 15:01:38.873] 'SonarJS' skipped because there is no related file in current project
[Trace - 3:01:38 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[Debug - 15:01:38.874] 'ESLint-based SonarJS' skipped because there is no related file in current project"
}
[Debug - 15:01:38.874] 'ESLint-based SonarJS' skipped because there is no related file in current project
[Trace - 3:01:38 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[Info - 15:01:38.874] Found 0 issue(s)"
}
[Info - 15:01:38.874] Found 0 issue(s)
[Trace - 3:01:38 PM] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///c%3A/Users/xxxxx/ClientApp/src/app/app.component.ts",
"diagnostics": []
}