BotBuilder-Samples icon indicating copy to clipboard operation
BotBuilder-Samples copied to clipboard

JS Adaptive Linting Errors: no-template-curly-in-string (eslint)

Open Zerryth opened this issue 5 years ago • 1 comments

Versions

Samples for JS preview of Adaptive

Describe the bug

Running the eslinter on the JS adaptive samples (currently on vishwac/r9/js branch: JS Samples) yields a bunch of "no-template-curly-in-string" errors, which occur, because references to LG templates are written as strings with curly braces:

ex.: '${PromptForMissingInformation()}'

Expected behavior

No linting errors when running the linter on the JS samples should occur. Need to either change the rule or the samples to explicitly excuse the rule-breaking.

Context

https://eslint.org/docs/rules/no-template-curly-in-string

[bug]

Zerryth avatar May 04 '20 16:05 Zerryth

@mrivera-ms , assigning these to you for now, as they are showing up in DRI report now that Ashley's left.

taicchoumsft avatar Jul 27 '21 18:07 taicchoumsft