I don’t think that ‘hostile’ is really fair in this case, when ‘insufficiently competent’ will do (albeit at the cost of more syllables).
I am not a fan of Grammarly or their technical model, but I don think it’s fair to attribute malice when it is adequately explained by stupidity.
It’s been a long time since I did any front-end work: should both Grammarly’s extension and your own code use namespaced property names?