Folkwise-io / mintbean-cli

MIT License
13 stars 9 forks source link

Mint lint command #69

Open nicofraisse opened 4 years ago

nicofraisse commented 4 years ago

What type of PR is this?

Description

See issue #60

This PR Adds the mint lint (alias mint l) command to the list of mint commands. It lints the code of the project using eslint behind the scenes. Each template now has a specific.eslintrc. For example, vanilla-js' eslint config file is set to check for semi columns, while react's eslint config file activates jsx as acceptable syntax.

Added to documentation?

Note

I made this PR to showcase this new functionality; feel free to let me know if anything should be improved and/or if there are better ways to approach this.