denisraslov / folderslint

📁 Directory structure linter for Front-End projects
MIT License
183 stars 3 forks source link

Is FL integrable with ESLint? #12

Closed imsergiobernal closed 2 years ago

imsergiobernal commented 2 years ago

I would like to keep the projects simple so I would like to know if integrating this with ESLint could be viable. I never developed some kind of linters.

denisraslov commented 2 years ago

Your suggestion totally makes sense! I also thought about it before implementing FoldersLint.

Although, unfortunately, ESLint is a tool that allows to validate JS and TS files content (the code inside of the files), but it can't help with validation of files paths. Therefore, the FoldersLint functional couldn't be implemented as a ESLint plugin, and was implemented as a separate tool.