
Security News
Node.js Considers Public Workflow for Security Reports Amid AI-Driven Surge
Node.js is debating whether AI-driven security report volume warrants moving more vulnerability reports into public workflows.
coc-sqlfluff
Advanced tools
SQLFluff (A SQL linter and auto-formatter for Humans) extension for coc.nvim
SQLFluff (A SQL linter and auto-formatter for Humans) extension for coc.nvim
CocInstall:
:CocInstall coc-sqlfluff
vim-plug:
Plug 'yaegassy/coc-sqlfluff', {'do': 'yarn install --frozen-lockfile'}
sqlfluff.commandPath settingcoc-sqlfluff allows you to create an extension-only "venv" and install "sqlfluff".
The first time you use coc-sqlfluff, if sqlfluff is not detected, you will be prompted to do a built-in installation.
You can also run the installation command manually.
:CocCommand sqlfluff.install
SQLFluff is able to read project-specific default values for its command line options, or from a configuration file.
SQLFluff will look for the following files in order. Later files will (if found) will be used to overwrite any vales read from earlier files.
setup.cfgtox.inipep8.ini.sqlfluffpyproject.tomlREF:
sqlfluff.enable: Enable coc-sqlfluff extension, default: truesqlfluff.commandPath: The path to the sqlfluff command (Absolute path), default: ""sqlfluff.builtin.pythonPath: Python 3.x path (Absolute path) to be used for built-in install, default: ""sqlfluff.dialect: The dialect of SQL to lint, valid option: ["ansi", "bigquery", "clickhouse", "databricks", "db2", "duckdb", "exasol", "hive", "mysql", "oracle", "postgres", "redshift", "snowflake", "soql", "sparksql", "sqlite", "teradata", "tsql"], default: "ansi"sqlfluff.linter.ignoreParsing: Whether the sql linter should ignore parsing errors, default: truesqlfluff.lintOnOpen: Lint file on opening, default: truesqlfluff.lintOnChange: Lint file on change, default: truesqlfluff.lintOnSave: Lint file on save, default: truesqlfluff.formatEnable: Whether the document formatter is enabled or not, default: truesqlfluff.formatIgnoreStderrAlert: Ignore stderr message output when formatting is executed, e.g. Unfixable violations detected, default: truesqlfluff.install: Install sqlfluff
~/.config/coc/extensions/coc-sqlfluff-data/sqlfluff/venv/bin/sqlfluff~/AppData/Local/coc/extensions/coc-sqlfluff-data/sqlfluff/venv/Scripts/sqlfluff.exesqlfluff.fix: Run sqlfluff fix filesqlfluff.format: Run sqlfluff format file (Available in sqlfluff v2.0.0 and later)sqlfluff.showOutput: Show sqlfluff output channelExample key mapping (Code Action related):
nmap <silent> ga <Plug>(coc-codeaction-line)
Usage:
In the line with diagnostic message, enter the mapped key (e.g. ga) and you will see a list of code actions that can be performed.
Actions:
Ignoring Errors for current line (-- noqa)Ignoring Errors for current line (-- noqa: disable=all)Ignoring Errors for current line (-- noqa: enable=all)Show web documentation for {RULE_ID}MIT
This extension is built with create-coc-extension
FAQs
SQLFluff (A SQL linter and auto-formatter for Humans) extension for coc.nvim
The npm package coc-sqlfluff receives a total of 65 weekly downloads. As such, coc-sqlfluff popularity was classified as not popular.
We found that coc-sqlfluff demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Node.js is debating whether AI-driven security report volume warrants moving more vulnerability reports into public workflows.

Security News
PolinRider expands across npm, Packagist, Go modules, and Chrome extensions, using hidden loaders to target developer environments.

Security News
Open source attacks are accelerating as AI coding agents pull in dependencies faster, with less human review.