Turned on no-useless-concat lint and fixed it in code

This commit is contained in:
BB
2022-03-16 20:43:04 +01:00
parent 3aabbb7aaa
commit 4eb59ac70c
15 changed files with 26 additions and 29 deletions

View File

@@ -640,7 +640,7 @@ export const codingContractTypesMetadata: ICodingContractTypeMetadata[] = [
"of the path, you may only move to adjacent numbers in the row below.",
"The triangle is represented as a 2D array of numbers:\n\n",
`${triangle}\n\n`,
"Example: If you are given the following triangle:\n\n" + "[\n",
"Example: If you are given the following triangle:\n\n[\n",
"     [2],\n",
"    [3,4],\n",
"   [6,5,7],\n",