sindresorhus/eslint-plugin-unicorn

Enforce directory casing in `filename-case`

Open

#686 opened on Apr 16, 2020

View on GitHub
 (18 comments) (28 reactions) (0 assignees)JavaScript (5,022 stars) (468 forks)user submission
enhancementhelp wanted

Description

We'd like to enforce casing of both files and directories. Is that possible, or would it need some kind of "root" directory to avoid caring about directory name outside of the project? Easy enough to achieve with js config files I guess. There is context.getCwd(), could probably work as well

Contributor guide