Open Thaigun opened 1 year ago
exclude
, as well as include
, will override the built-in default value.
Probably we needs another pair options: excludeExtends
and includeExtends
means to append new items on the default value
How do you think
Sounds like that would have solved the issue.
Late reply and not tested but you should be able to import the default options directly :
import i18nDefaultOptions from 'eslint-plugin-i18next/lib/options/defaults.js';
Hi, this seemed to be very neat and useful plugin. However, the options turned out a bit more complicated than anticipated.
I wanted to add a few custom words to be ignored by the plugin and expected it to be as easy as
However, this seems to clear the default options and suddenly reports for instance dashes as string literals.
Is there a clean way of whitelisting a couple words?