Move localized pages to edge translation worker #607
Quality Gate passed
Annotations
Check warning on line 124 in apps/translation-worker/src/index.ts
sonarqubecloud / SonarCloud Code Analysis
Prefer `String#codePointAt()` over `String#charCodeAt()`.
See more on https://sonarcloud.io/project/issues?id=Cap-go_website&issues=AZ3j-0urH6hucptgDZ2O&open=AZ3j-0urH6hucptgDZ2O&pullRequest=607
Check warning on line 29 in scripts/repair_sitemap.tsx
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=Cap-go_website&issues=AZ3j7eo_rVdAgs0O6bTa&open=AZ3j7eo_rVdAgs0O6bTa&pullRequest=607
Check warning on line 495 in apps/translation-worker/src/index.ts
sonarqubecloud / SonarCloud Code Analysis
This assertion is unnecessary since it does not change the type of the expression.
See more on https://sonarcloud.io/project/issues?id=Cap-go_website&issues=AZ3j7enPrVdAgs0O6bTN&open=AZ3j7enPrVdAgs0O6bTN&pullRequest=607
Check warning on line 98 in apps/translation-worker/src/index.ts
sonarqubecloud / SonarCloud Code Analysis
Prefer `String#replaceAll()` over `String#replace()`.
See more on https://sonarcloud.io/project/issues?id=Cap-go_website&issues=AZ3j7enPrVdAgs0O6bTA&open=AZ3j7enPrVdAgs0O6bTA&pullRequest=607
Check warning on line 561 in apps/translation-worker/src/index.ts
sonarqubecloud / SonarCloud Code Analysis
Prefer using an optional chain expression instead, as it's more concise and easier to read.
See more on https://sonarcloud.io/project/issues?id=Cap-go_website&issues=AZ3j7enPrVdAgs0O6bTR&open=AZ3j7enPrVdAgs0O6bTR&pullRequest=607
Check failure on line 428 in apps/translation-worker/src/index.ts
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 22 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=Cap-go_website&issues=AZ3j7enPrVdAgs0O6bTL&open=AZ3j7enPrVdAgs0O6bTL&pullRequest=607
Check warning on line 3795 in apps/shared/copy/messages.ts
sonarqubecloud / SonarCloud Code Analysis
Use concise character class syntax '\w' instead of '[A-Za-z0-9_]'.
See more on https://sonarcloud.io/project/issues?id=Cap-go_website&issues=AZ3j-0w4H6hucptgDZ2S&open=AZ3j-0w4H6hucptgDZ2S&pullRequest=607
Check warning on line 103 in apps/translation-worker/src/index.ts
sonarqubecloud / SonarCloud Code Analysis
Prefer `String#replaceAll()` over `String#replace()`.
See more on https://sonarcloud.io/project/issues?id=Cap-go_website&issues=AZ3j7enPrVdAgs0O6bTD&open=AZ3j7enPrVdAgs0O6bTD&pullRequest=607
Check failure on line 310 in apps/translation-worker/src/index.ts
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 17 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=Cap-go_website&issues=AZ3j-0urH6hucptgDZ2P&open=AZ3j-0urH6hucptgDZ2P&pullRequest=607
Check warning on line 103 in apps/translation-worker/src/index.ts
sonarqubecloud / SonarCloud Code Analysis
Prefer `String#replaceAll()` over `String#replace()`.
See more on https://sonarcloud.io/project/issues?id=Cap-go_website&issues=AZ3j7enPrVdAgs0O6bTE&open=AZ3j7enPrVdAgs0O6bTE&pullRequest=607
Check warning on line 98 in apps/translation-worker/src/index.ts
sonarqubecloud / SonarCloud Code Analysis
Prefer `String#replaceAll()` over `String#replace()`.
See more on https://sonarcloud.io/project/issues?id=Cap-go_website&issues=AZ3j7enPrVdAgs0O6bTC&open=AZ3j7enPrVdAgs0O6bTC&pullRequest=607
Check warning on line 117 in apps/translation-worker/src/index.ts
sonarqubecloud / SonarCloud Code Analysis
Prefer `String#codePointAt()` over `String#charCodeAt()`.
See more on https://sonarcloud.io/project/issues?id=Cap-go_website&issues=AZ3j-0urH6hucptgDZ2N&open=AZ3j-0urH6hucptgDZ2N&pullRequest=607
Check warning on line 98 in apps/translation-worker/src/index.ts
sonarqubecloud / SonarCloud Code Analysis
Prefer `String#replaceAll()` over `String#replace()`.
See more on https://sonarcloud.io/project/issues?id=Cap-go_website&issues=AZ3j7enPrVdAgs0O6bTB&open=AZ3j7enPrVdAgs0O6bTB&pullRequest=607
Check warning on line 3795 in apps/shared/copy/messages.ts
sonarqubecloud / SonarCloud Code Analysis
Prefer `String#replaceAll()` over `String#replace()`.
See more on https://sonarcloud.io/project/issues?id=Cap-go_website&issues=AZ3j-0w4H6hucptgDZ2R&open=AZ3j-0w4H6hucptgDZ2R&pullRequest=607
Check warning on line 677 in apps/translation-worker/src/index.ts
sonarqubecloud / SonarCloud Code Analysis
Remove this useless assignment to variable "updatedTag".
See more on https://sonarcloud.io/project/issues?id=Cap-go_website&issues=AZ3j-0urH6hucptgDZ2Q&open=AZ3j-0urH6hucptgDZ2Q&pullRequest=607