Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/erickgnavar/flymake-sqlfluff

flymake plugin for SQL using sqlfluff
https://github.com/erickgnavar/flymake-sqlfluff

emacs flymake flymake-backend sql sqlfluff

Last synced: about 1 month ago
JSON representation

flymake plugin for SQL using sqlfluff

Awesome Lists containing this project

README

        

# flymake-sqlfluff

[![MELPA](https://melpa.org/packages/flymake-sqlfluff-badge.svg)](https://melpa.org/#/flymake-sqlfluff)

Flymake plugin to run a linter for SQL buffers using [sqlfluff](https://www.sqlfluff.com)

## Installation

### Cloning the repo

Clone this repo somewhere, and add this to your config:

```elisp
(add-to-list 'load-path "path where the repo was cloned")

(require 'flymake-sqlfluff)
(add-hook 'sql-mode-hook #'flymake-sqlfluff-load)
```

### Using use-package

```emacs-lisp
(use-package flymake-sqlfluff
:ensure t)
```

### Using straight.el

```emacs-lisp
(use-package flymake-sqlfluff
:straight (flymake-sqlfluff
:type git
:host github
:repo "erickgnavar/flymake-sqlfluff"))
```