modify sonarqube

This commit is contained in:
2026-01-21 12:31:24 +00:00
parent 94e565257d
commit 7b7e171ca3
1725 changed files with 383274 additions and 0 deletions

View File

@@ -0,0 +1,472 @@
C
typescriptS7764"Prefer `globalThis` over `window`.2kk @C
typescriptS7764"Prefer `globalThis` over `window`.2
@L
typescriptS6772-Ambiguous spacing after previous element span2<08><10> bL
typescriptS6772-Ambiguous spacing after previous element span2<08><10> dL
typescriptS6772-Ambiguous spacing after previous element span2<08><10> [e
typescriptS3358DExtract this nested ternary operation into an independent statement.2
<08><10> L
typescriptS6772-Ambiguous spacing after previous element span2<08><10> a<>
typescriptS4144XUpdate this function so that its implementation is not identical to the one on line 157.2
<08><10>. 0:*
(<08>
<08><10>. 0Original implementatione
typescriptS3358DExtract this nested ternary operation into an independent statement.2
<08><10>+ T@
typescriptS7735Unexpected negated condition.2
<08><10> @e
typescriptS3358DExtract this nested ternary operation into an independent statement.2
<08><10>
e
typescriptS3358DExtract this nested ternary operation into an independent statement.2
<08><10>
O
typescriptS6749,A fragment with only one child is redundant.2
<08><10> @L
typescriptS6772-Ambiguous spacing after previous element span2<08><10> f?
typescriptS6479Do not use Array index in keys2
<08><10> ?
typescriptS6479Do not use Array index in keys2
<08><10># &f
typescriptS2245EMake sure that using this pseudorandom number generator is safe here.2
<08><10> ,?
typescriptS6479Do not use Array index in keys2
<08><10> @
typescriptS7735Unexpected negated condition.2
<08><10>O f@P
typescriptS6759-Mark the props of the component as read-only.2
<08><10> A@P
typescriptS6853/A form label must be associated with a control.2
<08><10>
P
typescriptS6853/A form label must be associated with a control.2
<08><10>
P
typescriptS6853/A form label must be associated with a control.2
<08><10> P
typescriptS6853/A form label must be associated with a control.2
<08><10> P
typescriptS6853/A form label must be associated with a control.2
<08> <10> 
P
typescriptS6853/A form label must be associated with a control.2
<08> <10> 
?
typescriptS6479Do not use Array index in keys2
<08>
<10>
 E
typescriptS7764"Prefer `globalThis` over `window`.2
<08> <10> 0 6@E
typescriptS7764"Prefer `globalThis` over `window`.2
<08> <10> 
@E
typescriptS7764"Prefer `globalThis` over `window`.2
<08> <10> + 1@E
typescriptS7764"Prefer `globalThis` over `window`.2
<08> <10> 
@P
typescriptS6759-Mark the props of the component as read-only.2
<08> <10>  W@<01>
typescriptS4144XUpdate this function so that its implementation is not identical to the one on line 165.2
<08> <10> 3 5:*
(<08>
<08><10>0 2Original implementation<6F>
typescriptS4144YUpdate this function so that its implementation is not identical to the one on line 1417.2
<08> <10> " $:*
(<08>
<08> <10> " $Original implementationE
typescriptS7764"Prefer `globalThis` over `window`.2
<08> <10> 0 6@E
typescriptS7764"Prefer `globalThis` over `window`.2
<08> <10> 
@E
typescriptS7764"Prefer `globalThis` over `window`.2
<08> <10> + 1@E
typescriptS7764"Prefer `globalThis` over `window`.2
<08> <10> 
@L
typescriptS6772-Ambiguous spacing after previous element span2<08>
<10>
SL
typescriptS6772-Ambiguous spacing after previous element span2<08>
<10>
NL
typescriptS6772-Ambiguous spacing after previous element span2<08>
<10>
Me
typescriptS3358DExtract this nested ternary operation into an independent statement.2
<08>
<10> e
typescriptS3358DExtract this nested ternary operation into an independent statement.2
<08>
<10> L
typescriptS6772-Ambiguous spacing after previous element span2<08><10> cL
typescriptS6772-Ambiguous spacing after previous element span2<08><10> jL
typescriptS6772-Ambiguous spacing after previous element span2<08><10> uL
typescriptS6772-Ambiguous spacing after previous element span2<08><10> VL
typescriptS6772-Ambiguous spacing after previous element span2<08><10> [P
typescriptS6759-Mark the props of the component as read-only.2
<08><10> U@b
typescriptS1313AMake sure using a hardcoded IP address 172.24.10.45 is safe here.2
<08><10>
c
typescriptS1313BMake sure using a hardcoded IP address 192.168.1.100 is safe here.2
<08><10>
a
typescriptS1313@Make sure using a hardcoded IP address 10.50.20.15 is safe here.2
<08><10>
a
typescriptS1313@Make sure using a hardcoded IP address 172.16.5.30 is safe here.2
<08><10>
<17>
typescriptS4144YUpdate this function so that its implementation is not identical to the one on line 1616.2
<08><10>' ):*
(<08>
<08> <10> ' )Original implementation<6F>
typescriptS4144YUpdate this function so that its implementation is not identical to the one on line 1417.2
<08><10>" $:*
(<08>
<08> <10> " $Original implementationE
typescriptS7764"Prefer `globalThis` over `window`.2
<08><10>0 6@E
typescriptS7764"Prefer `globalThis` over `window`.2
<08><10>
@E
typescriptS7764"Prefer `globalThis` over `window`.2
<08><10>+ 1@E
typescriptS7764"Prefer `globalThis` over `window`.2
<08><10>
@L
typescriptS6772-Ambiguous spacing after previous element span2<08><10> RL
typescriptS6772-Ambiguous spacing after previous element span2<08><10> ML
typescriptS6772-Ambiguous spacing after previous element span2<08><10> Le
typescriptS3358DExtract this nested ternary operation into an independent statement.2
<08><10> e
typescriptS3358DExtract this nested ternary operation into an independent statement.2
<08><10> e
typescriptS3358DExtract this nested ternary operation into an independent statement.2
<08><10>% ce
typescriptS3358DExtract this nested ternary operation into an independent statement.2
<08><10>% ce
typescriptS3358DExtract this nested ternary operation into an independent statement.2
<08><10>% cb
typescriptS1313AMake sure using a hardcoded IP address 172.24.10.45 is safe here.2
<08><10>L ZL
typescriptS6772-Ambiguous spacing after previous element span2<08><10> fL
typescriptS6772-Ambiguous spacing after previous element span2<08><10> pP
typescriptS6759-Mark the props of the component as read-only.2
<08><10>" [@`
typescriptS1313?Make sure using a hardcoded IP address 10.0.40.10 is safe here.2
<08><10> <14>
typescriptS4144YUpdate this function so that its implementation is not identical to the one on line 2034.2
<08><10>3 5:*
(<08>
<08><10>3 5Original implementation<6F>
typescriptS4144YUpdate this function so that its implementation is not identical to the one on line 1616.2
<08><10>' ):*
(<08>
<08> <10> ' )Original implementation<6F>
typescriptS4144YUpdate this function so that its implementation is not identical to the one on line 1417.2
<08><10>" $:*
(<08>
<08> <10> " $Original implementationE
typescriptS7764"Prefer `globalThis` over `window`.2
<08><10>0 6@E
typescriptS7764"Prefer `globalThis` over `window`.2
<08><10>
@E
typescriptS7764"Prefer `globalThis` over `window`.2
<08><10>+ 1@E
typescriptS7764"Prefer `globalThis` over `window`.2
<08><10>
@L
typescriptS6772-Ambiguous spacing after previous element span2<08><10> RL
typescriptS6772-Ambiguous spacing after previous element span2<08><10> ML
typescriptS6772-Ambiguous spacing after previous element span2<08><10> Le
typescriptS3358DExtract this nested ternary operation into an independent statement.2
<08><10> e
typescriptS3358DExtract this nested ternary operation into an independent statement.2
<08><10> a
typescriptS1313@Make sure using a hardcoded IP address 10.0.50.112 is safe here.2
<08><10>L YL
typescriptS6772-Ambiguous spacing after previous element span2<08><10> fL
typescriptS6772-Ambiguous spacing after previous element span2<08><10> |L
typescriptS6772-Ambiguous spacing after previous element span2<08><10> wL
typescriptS6772-Ambiguous spacing after previous element span2<08><10> tP
typescriptS6759-Mark the props of the component as read-only.2
<08><10> c@U
typescriptS11354Complete the task associated to this "TODO" comment.2
<08><10> U
typescriptS11354Complete the task associated to this "TODO" comment.2
<08><10> L
typescriptS6772-Ambiguous spacing after previous element span2<08><10> L
typescriptS6772-Ambiguous spacing after previous element span2<08><10> L
typescriptS6772-Ambiguous spacing after previous element span2<08><10> L
typescriptS6772-Ambiguous spacing after previous element span2<08><10> L
typescriptS6772-Ambiguous spacing after previous element span2<08><10> SP
typescriptS6853/A form label must be associated with a control.2
<08><10> P
typescriptS6853/A form label must be associated with a control.2
<08><10> b
typescriptS1313AMake sure using a hardcoded IP address 192.168.1.50 is safe here.2
<08><10>" 0P
typescriptS6853/A form label must be associated with a control.2
<08><10> L
typescriptS6772-Ambiguous spacing after previous element span2<08><10> VP
typescriptS6853/A form label must be associated with a control.2
<08><10> P
typescriptS6853/A form label must be associated with a control.2
<08><10> P
typescriptS6853/A form label must be associated with a control.2
<08><10> P
typescriptS6853/A form label must be associated with a control.2
<08><10> L
typescriptS6772-Ambiguous spacing after previous element span2<08><10> fP
typescriptS6853/A form label must be associated with a control.2
<08><10> P
typescriptS6853/A form label must be associated with a control.2
<08><10> L
typescriptS6772-Ambiguous spacing after previous element span2<08><10> [L
typescriptS6772-Ambiguous spacing after previous element span2<08><10> R<>
typescriptS3776TRefactor this function to reduce its Cognitive Complexity from 16 to the 15 allowed.)<00>?2
<08><10> :
<08>
<08><10> +1:
<08>
<08><10> +1:
<08>
<08><10> +1:
<08>
<08><10> +1:
<08>
<08><10> +1:
<08>
<08><10> +1:
<08>
<08><10> +1:+
)<08>
<08><10>! "+2 (incl. 1 for nesting):
<08>
<08><10> +1:+
)<08>
<08><10>% &+2 (incl. 1 for nesting):
<08>
<08><10> +1:+
)<08>
<08><10># $+2 (incl. 1 for nesting):
<08>
<08><10>. /+1E
typescriptS7764"Prefer `globalThis` over `window`.2
<08><10>
@<01>
typescriptS4144XUpdate this function so that its implementation is not identical to the one on line 157.2
<08><10>. 0:*
(<08>
<08><10>. 0Original implementationL
typescriptS6772-Ambiguous spacing after previous element span2<08><10> aL
typescriptS6772-Ambiguous spacing after previous element span2<08><10> `L
typescriptS6772-Ambiguous spacing after previous element span2<08><10> ce
typescriptS3358DExtract this nested ternary operation into an independent statement.2
<08><10> O
typescriptS6749,A fragment with only one child is redundant.2
<08><10> @e
typescriptS3358DExtract this nested ternary operation into an independent statement.2
<08><10> L
typescriptS6772-Ambiguous spacing after previous element span2<08><10> ue
typescriptS3358DExtract this nested ternary operation into an independent statement.2
<08><10> O
typescriptS6749,A fragment with only one child is redundant.2
<08><10> @Q
typescriptS6759-Mark the props of the component as read-only.2 <08><10> <20>@P
typescriptS6853/A form label must be associated with a control.2
<08><10> P
typescriptS6853/A form label must be associated with a control.2
<08><10> P
typescriptS6853/A form label must be associated with a control.2
<08><10> P
typescriptS6759-Mark the props of the component as read-only.2
<08><10> @@<01>
typescriptS4144XUpdate this function so that its implementation is not identical to the one on line 157.2
<08><10>. 0:*
(<08>
<08><10>. 0Original implementation<6F>
typescriptS2301VProvide multiple methods instead of using "checked" to determine which action to take.2
<08><10> :8
6<08>
<08><10> +%Parameter "checked" was declared hereL
typescriptS6772-Ambiguous spacing after previous element span2<08><10> YL
typescriptS6772-Ambiguous spacing after previous element span2<08><10> YL
typescriptS6772-Ambiguous spacing after previous element span2<08><10> {L
typescriptS6772-Ambiguous spacing after previous element span2<08><10> _e
typescriptS3358DExtract this nested ternary operation into an independent statement.2
<08><10>
e
typescriptS3358DExtract this nested ternary operation into an independent statement.2
<08> <10>  L
typescriptS6772-Ambiguous spacing after previous element span2<08> <10> qe
typescriptS3358DExtract this nested ternary operation into an independent statement.2
<08> <10>! L
typescriptS6772-Ambiguous spacing after previous element span2<08> <10> oQ
typescriptS6759-Mark the props of the component as read-only.2 <08>!<10>! <20>@J
typescriptS7773)Prefer `Number.parseInt` over `parseInt`.2
<08>!<10>!. 6J
typescriptS7773)Prefer `Number.parseInt` over `parseInt`.2
<08>!<10>!. 6P
typescriptS6853/A form label must be associated with a control.2
<08>!<10>! P
typescriptS6853/A form label must be associated with a control.2
<08>!<10>! P
typescriptS6853/A form label must be associated with a control.2
<08>"<10>" P
typescriptS6853/A form label must be associated with a control.2
<08>"<10>" P
typescriptS6853/A form label must be associated with a control.2