You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 8, 2019. It is now read-only.
My Sonar-scanner is
..abc\sonar-scanner-cli-3.0.3.778-windows\sonar-scanner-3.0.3.778-windows\bin
and my Project is in
xyz dir
i am running scanner with this command
sonar-scanner.bat -X -Dsonar.projectBaseDir=xyz
but i am getting
11:33:57.129 INFO: CLI cmd /C call node "C:\Users\nikhil.kapoor.IND-DEL\AppData\Roaming\npm\node_modules\tslint\bin\tslint" --config "D:\intershop\icp_admin_07_21\icp_admin_architecture_refactor\icp_admin.scannerwork\tslint.json" --format json -f "D:\intershop\icp_admin_07_21\icp_admin_architecture_refactor\icp_admin\src\app\theme\theme.config.ts"
11:33:57.129 DEBUG: Got
11:33:57.129 INFO: TsLint executing for D:\intershop\icp_admin_07_21\icp_admin_architecture_refactor\icp_admin\src\app\theme\theme.configProvider.ts
11:33:57.514 ERROR: TsLint Err:
11:33:57.514 ERROR: TsLint Err: error: unknown option -f' 11:33:57.514 ERROR: TsLint Err: 11:33:57.514 INFO: Exit code 1 11:33:57.514 INFO: CLI cmd /C call node "C:\Users\nikhil.kapoor.IND-DEL\AppData\Roaming\npm\node_modules\tslint\bin\tslint" --config "D:\intershop\icp_admin_07_21\icp_admin_architecture_refactor\icp_admin\.scannerwork\tslint.json" --format json -f "D:\intershop\icp_admin_07_21\icp_admin_architecture_refactor\icp_admin\src\app\theme\theme.configProvider.ts" 11:33:57.514 DEBUG: Got 11:33:57.514 INFO: TsLint executing for D:\intershop\icp_admin_07_21\icp_admin_architecture_refactor\icp_admin\src\app\theme\theme.constants.ts 11:33:57.898 ERROR: TsLint Err: 11:33:57.898 ERROR: TsLint Err: error: unknown option -f'
11:33:57.899 ERROR: TsLint Err:
11:33:57.905 INFO: Exit code 1
11:33:57.906 INFO: CLI cmd /C call node "C:\Users\nikhil.kapoor.IND-DEL\AppData\Roaming\npm\node_modules\tslint\bin\tslint" --config "D:\intershop\icp_admin_07_21\icp_admin_architecture_refactor\icp_admin.scannerwork\tslint.json" --format json -f "D:\intershop\icp_admin_07_21\icp_admin_architecture_refactor\icp_admin\src\app\theme\theme.constants.ts"
11:33:57.908 DEBUG: Got
for all .ts files can you please help me out
this is my properties in project folder
sonar.projectKey=company:intershop
sonar.projectName=intershop
sonar.projectVersion=1.0
sonar.sourceEncoding=UTF-8
sonar.sources=src/app
sonar.exclusions=/node_modules/,/*.spec.ts
sonar.tests=src/app
sonar.test.inclusions=/*.spec.ts
sonar.ts.tslint.configPath=tslint.json
The text was updated successfully, but these errors were encountered:
What version of the plugin and tslint are you using? The -f flag hasn't been supplied to tslint for a good while now, so just upgrading the plugin might help.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
My Sonar-scanner is
..abc\sonar-scanner-cli-3.0.3.778-windows\sonar-scanner-3.0.3.778-windows\bin
and my Project is in
xyz dir
i am running scanner with this command
sonar-scanner.bat -X -Dsonar.projectBaseDir=xyz
but i am getting
11:33:57.129 INFO: CLI cmd /C call node "C:\Users\nikhil.kapoor.IND-DEL\AppData\Roaming\npm\node_modules\tslint\bin\tslint" --config "D:\intershop\icp_admin_07_21\icp_admin_architecture_refactor\icp_admin.scannerwork\tslint.json" --format json -f "D:\intershop\icp_admin_07_21\icp_admin_architecture_refactor\icp_admin\src\app\theme\theme.config.ts"
11:33:57.129 DEBUG: Got
11:33:57.129 INFO: TsLint executing for D:\intershop\icp_admin_07_21\icp_admin_architecture_refactor\icp_admin\src\app\theme\theme.configProvider.ts
11:33:57.514 ERROR: TsLint Err:
11:33:57.514 ERROR: TsLint Err: error: unknown option
-f' 11:33:57.514 ERROR: TsLint Err: 11:33:57.514 INFO: Exit code 1 11:33:57.514 INFO: CLI cmd /C call node "C:\Users\nikhil.kapoor.IND-DEL\AppData\Roaming\npm\node_modules\tslint\bin\tslint" --config "D:\intershop\icp_admin_07_21\icp_admin_architecture_refactor\icp_admin\.scannerwork\tslint.json" --format json -f "D:\intershop\icp_admin_07_21\icp_admin_architecture_refactor\icp_admin\src\app\theme\theme.configProvider.ts" 11:33:57.514 DEBUG: Got 11:33:57.514 INFO: TsLint executing for D:\intershop\icp_admin_07_21\icp_admin_architecture_refactor\icp_admin\src\app\theme\theme.constants.ts 11:33:57.898 ERROR: TsLint Err: 11:33:57.898 ERROR: TsLint Err: error: unknown option
-f'11:33:57.899 ERROR: TsLint Err:
11:33:57.905 INFO: Exit code 1
11:33:57.906 INFO: CLI cmd /C call node "C:\Users\nikhil.kapoor.IND-DEL\AppData\Roaming\npm\node_modules\tslint\bin\tslint" --config "D:\intershop\icp_admin_07_21\icp_admin_architecture_refactor\icp_admin.scannerwork\tslint.json" --format json -f "D:\intershop\icp_admin_07_21\icp_admin_architecture_refactor\icp_admin\src\app\theme\theme.constants.ts"
11:33:57.908 DEBUG: Got
for all .ts files can you please help me out
this is my properties in project folder
sonar.projectKey=company:intershop
sonar.projectName=intershop
sonar.projectVersion=1.0
sonar.sourceEncoding=UTF-8
sonar.sources=src/app
sonar.exclusions=/node_modules/,/*.spec.ts
sonar.tests=src/app
sonar.test.inclusions=/*.spec.ts
sonar.ts.tslint.configPath=tslint.json
The text was updated successfully, but these errors were encountered: