ember-template-lint/ember-cli-template-lint

Deprecation logic negation

Exelord opened this issue · 4 comments

Can you explain what the issue is? I’m not sure I follow...

bare-strings is deprecated in favor of no-bare-strings but it is still required in case we are using ember-intl.

We should change the requirement to use no-bare-strings as well.

Can you confirm you are on the latest version? The latest version emits no-bare-strings (not bare-strings like in the screenshot).

'The `no-bare-strings` rule must be configured when using a localization framework (`' + addon.name + '`). To prevent this warning, add the following to your `.template-lintrc.js`:\n\n rules: {\n \'no-bare-strings\': true\n }'

So sorry! You are right! That was on 0.7.5 not 0.7.6!