question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Using `×` gives a `no-bare-strings` warning

See original GitHub issue

I think this is a bug. We also have things like   in the templates which do not output the warning. I glanced over the code for no-bare-strings and I couldn’t see where this is handled. But in any case, × should not give a no-bare-strings warning.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
rwjbluecommented, Nov 4, 2019

By the time our plugins run these html entity codes have been replaced by the underlying value that they represent (aka our plugin doesn’t know the difference between   and at the moment).

This is actually fixed now. I think we can now properly ignore “HTML entity codes” (assuming that is what we want to do).

0reactions
rwjbluecommented, Feb 21, 2020

@boris-petrov - Hehe, the issue description definitely does not make that clear. 😄

Can you create a new issue that suggests something like “automatically allow all HTML entities in no-bare-strings rule”?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ember Template Lint: Linter For Ember Or Handlebars ...
When the ember-template-lint executable is run, we would have a single result indicating that the no-bare-strings rule found an error.
Read more >
this application does not have the debuggable attribute ...
OSCHINA.NET 是目前领先的中文开源技术社区。我们传播开源的理念,推广开源项目,为IT 开发者提供了一个发现、使用、并交流开源技术的平台.
Read more >
eslint-plugin-vue: Versions - Openbase
Full version history for eslint-plugin-vue including change logs.
Read more >
BITS Timetable Visualizer with Search functionality - BestofVue
VueJS - Building UIs with Javascript; Vuetify - Pre built UI components build with Vue.js; NodeJS - Server Side Javascript ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found