There should be an option that makes the duplicate string literal inspection obey module bounds in a way that the same string literal in module A is not marked as duplicate as long as the duplicate instance is
Option a)
--in a different module B
Option b)
--in a different module B which not depends on module A or vice versa, i.e if a module dependency exists, it could make sense to introduce a constant in the parent module, but if both of the modules do not have a dependency relation to each other, im most cases it makes no sense to introduce a constant, which then creates a new dependency