Warning This library is highly experimental.
Yes, you read it right. This packages provides basic SQL validation for. your code snippets Just plug it in your xulieta configuration and you are good to go.
composer require codelicia/xulieta-sql-validator --dev
Xulieta will automatically detect the validator and will configure it
for you. You can check it out on you .xulieta.xml
file.
After registering the validator, no extra steps are required. Just run xulieta as usual.
./vendor/bin/xulieta check:erromeu <directory>
Just make sure you mark you code block as sql
, mysql
or
postgresql
and you are good to go If you'd like to add something
else, please open an issue or a PR.
- malukenho (@malukenho)
- Eher (@EHER)