eslint-plugin icon indicating copy to clipboard operation
eslint-plugin copied to clipboard

`no-unlocalized-strings` `ignoreProperty` option should extend to ignoring string values in subkeys

Open judeatmerit opened this issue 1 year ago • 0 comments

If i have ignoreProperty: ["ignoreThis"] option set for no-unlocalized-string, it would be very helpful to also ignore any strings for subkeys under the ignored property.

const obj = {
  ignoreThis: {
    subkey: "This should be ignored by no-unlocalized-string too"
  }
};

judeatmerit avatar May 07 '24 00:05 judeatmerit