Denis Raslov

FoldersLint - Directory structure linter for JavaScript projects

Configure directory structure rules for your project and FoldersLint will check if existed or new files fit these rules.

Add a comment

Replies

Best
Denis Raslov
Hey Product Hunt 👋 FoldersLint is a directory structure linter for JavaScript projects. Basically, it lets you configure directory structure rules in a configuration file and check if existed or new files fit these rules. The idea is if a project is large enough, then it has enormous count of directories and files. Consistency in this aspect is an important thing. Clearly defined structure helps to raise clarity of the project and reduce its complexity. It makes developers always know where to put files and where to find them. It's necessary to avoid chaos in large projects. And FoldersLint is a tool which is helping you to automate linting of your project’s directory structure, in the same way as, for example, ES Lint does with JavaScript code validation. How FoldersLint works: ⚙️ You configure your project’s structure in a single file with a set of flexible rules ⚙️  You setup a pre-commit hook with lint-staged and FoldersLint ✅  FoldersLint is checking new and modified files before a commit and notifies if they don't fit the configuration ✅  You can also run FoldersLint for a whole project to find existed files which don't fit the configuration Here is also my article with more thoughts on why we need such tool and how to use it: https://dev.to/denisraslov/folde... 🙏 I'd love to hear your feedback and I'm happy to answer questions!
Vivek
wow this is nice. I really liked it.
DeepakNess
Awesome!!! 🔥
Graham Hoefer
This looks amazing!