Releases: joereynolds/sql-lint
Releases · joereynolds/sql-lint
v0.0.11
- Add and implement
ignore-errors
option (seedoc/configuration.md
) - Add preliminary support for
CALL
,REPLACE
,RETURN
,DECLARE
,LEAVE
andSHOW
statements - Support Postgres (yay.)
- Reduce executable size
- More consistent error messages when
sql-lint
is ran over a file - Add check for invalid options on
ALTER
statements
For developers, there has been some small refactors and big improvements on test coverage (now around ~95% coverage)
v0.0.10
- Many developer friendly improvements (See these commits for the full list)
- Added
--format
option.
The format option changes howsql-lint
outputs its errors. At time of writing, there are two formats,simple
which is the format that was already there, and alsojson
which can be consumed by a web service or whatever else you crazy kids do these days. - Added support for
CREATE
statements - Added
InvalidCreateOption
check.
This is triggered when an invalid word comes after theCREATE
keyword in a CREATE statement.
v0.0.9
- Fix wrong version number in executable
v0.0.8
- Add support for
DROP
statements - Warn if configuration file is not found
- Make
-v --verbose
option actually work - Add check for invalid drop options
- Clarify MySQL versions in the README
v0.0.7
- Ignore comments in queries
- Warn if no file is present when using the
-f
flag - Add support for UPDATE and CREATE statements
v0.0.6
v0.0.6