eleventy-plugin-inclusive-language icon indicating copy to clipboard operation
eleventy-plugin-inclusive-language copied to clipboard

Ability to exclude certain files from linting

Open Ryuno-Ki opened this issue 5 years ago • 0 comments

Hi @zachleat,

I know, you haven't looked at this repo in a while. But I noticed, that this plugin scans my imported tweets as well. Is there a way to tell the plugin to ignore certain files / directories / collections?

For example, I could compare the inputPath argument of https://github.com/11ty/eleventy-plugin-inclusive-language/blob/8d9a0920523b7887ebdd3cca06fc328140772a1b/.eleventy.js#L20 against certain conditions.

Would trim down my logging quite a lot :-)

Once we came up with a nice API, I'd be willing to submit a PR!

Ryuno-Ki avatar Oct 13 '19 19:10 Ryuno-Ki