eslint-plugin-rulesdir icon indicating copy to clipboard operation
eslint-plugin-rulesdir copied to clipboard

Allow to load rules from subdirectories

Open denis-sokolov opened this issue 1 year ago • 1 comments

When a custom rule grows, it becomes clumsy to keep it in one file. Moving it into a subdirectory still requires an entry file, resulting in two similar, but distinct names in the custom rules directory.

This PR allows a shape of module directories that’s native to Node.js packages: a subdirectory with an index.js file in it.

denis-sokolov avatar May 20 '24 13:05 denis-sokolov

Thanks for the PR! Unfortunately I don't have time to maintain this repository anymore. I would recommend forking the repository if you want to use new features like this.

not-an-aardvark avatar May 30 '24 03:05 not-an-aardvark