CodeFoodPixels / node-promise-mysql

A wrapper for mysqljs/mysql that wraps function calls with Bluebird promises.
MIT License
338 stars 64 forks source link

Is there any way to validate *.sql precommit? #81

Closed jeasonstudio closed 6 years ago

jeasonstudio commented 6 years ago

Just like lint-stage, we can validate the staged *.sql file pre commit or push via husky.

CodeFoodPixels commented 6 years ago

I don't understand what you want. Something to do with validating before git committing?

jeasonstudio commented 6 years ago

Yep. Validate *.sql files before commit.

CodeFoodPixels commented 6 years ago

This module has nothing to do with git.