I am getting the below error when I run
npm run prettier and when I commit (since I have a husky hook) a couple of Apex classes that use namespace placeholders .
Error: Found punctuation symbol or operator '%' that isn't valid in Apex.
I tried telling prettier and eslint to ignore these lines of code but I keep getting the same errors. Example:
// eslint-disable-next-line prettier-ignore System.assertEquals('3/30/2015', %%%NAMESPACE_DOT%%%DateUtils.formatDate(firstMonday('3/30/2015'), 'M/d/yyyy'));