blakeembrey / tslint-config-standard

A TSLint config for JavaScript Standard Style
Other
358 stars 43 forks source link

no-multi-spaces false report on multiple spaces inside template literal #47

Closed james-love closed 6 years ago

james-love commented 6 years ago

Ran into an issue where multiple spaces in a template literal will falsely reports no-multi-spaces. Here is an example:

const test = `${'test'}  ` // Note the two spaces after ${'test'}

I traced it down to an issue with the tslint-eslint-rules dependency which has been fixed by the latest version of the package. This should be able to be fixed by updating the tslint-eslint-rules package.

blakeembrey commented 6 years ago

Thanks for a heads up, working on a new release now 👍

james-love commented 6 years ago

I've updated to the release you made and I'm no longer encountering the error, thank you!

blakeembrey commented 6 years ago

@james-love Thanks 😄