Rule: https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/string-content.md
Issues reported in xojs/xo#439 (comment)
I initially suggested this rule in #327 but I'm not able to use it for my original case because it applies to strings that shouldn't be changed.
I think this rule should instead be applied only in some cases, via whitelist.
An example would be:
const description = 'More...'
{description: 'More...'}
FeatureMeta['description']
indent
rule’s ignoreNodes
(not sure if this is applicable)This would probably replace the current tag-based blacklist.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too