Skip to content

Commit

Permalink
REST: Disallow unnecessary string interpolation
Browse files Browse the repository at this point in the history
This disallows expressions like `${foo}`. The error message is a bit
unfortunate, but it does what we want it to do.

Change-Id: I5fc59e7b2f588c681253346e70e05e4a365f8a94
  • Loading branch information
jakobw committed Sep 17, 2024
1 parent 8604d74 commit 1c25a71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion repo/rest-api/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"no-unused-expressions": "off",
"prefer-arrow-callback": "off",
"template-curly-spacing": "off",
"camelcase": "off"
"camelcase": "off",
"no-implicit-coercion": [ "error", { "disallowTemplateShorthand": true } ]
}
}

0 comments on commit 1c25a71

Please sign in to comment.