pixelastic / aberlaas

🚀 Scaffolding npm projects with test, lint and release scripts
MIT License
0 stars 0 forks source link

Cleanup lint JS logic #147

Open pixelastic opened 11 months ago

pixelastic commented 11 months ago

As of November 2023, the logic for linting js files seem to always lint files in ./bin

yarn aberlaas lint ./path/to/file.js --js should only lint that file, but it always adds the files defines in bin in package.json to the list

It should be made more clever that if no argument is passed, it included all js files, but if some are passed, it shouldn't add new ones.