ni / javascript-styleguide

JavaScript and TypeScript Style Guide
MIT License
9 stars 9 forks source link

Uptake new angular-eslint runtime-localize rule #153

Open jattasNI opened 1 month ago

jattasNI commented 1 month ago

Describe the issue

@m-akinc added a new rule to angular-eslint in https://github.com/angular-eslint/angular-eslint/pull/1898 which should help catch cases where strings are tagged with $localize in scopes that don't permit it, like file-level consts. This is now available in @angular-eslint/eslint-plugin. You can see the docs here.

We should enable this rule by default in our ruleset.