Flymake plugin to run a linter for SQL buffers using sqlfluff
Clone this repo somewhere, and add this to your config:
(add-to-list 'load-path "path where the repo was cloned")
(require 'flymake-sqlfluff)
(add-hook 'sql-mode-hook #'flymake-sqlfluff-load)(use-package flymake-sqlfluff
:ensure t)(use-package flymake-sqlfluff
:straight (flymake-sqlfluff
:type git
:host github
:repo "erickgnavar/flymake-sqlfluff"))