I have a file called
payment-shipping.tsx
and eslint is throwing an error
Filename is not in camel case. Rename it to 'paymentShipping.tsx' unicorn/filename-case
However, the file needs to be in kebab case since it's a next.js page that shows up in the URL.
Placing this line at the beginning of the file:
// eslint-disable-next-line unicorn/filename-case
Does not prevent the error; instead, it triggers another error:
'unicorn/filename-case' rule is disabled but never reported eslint-comments/no-unused-disable
Any suggestions on suppressing the filename-case error?