Skip to main content

A plugin for rules that enforce common SQL conventions not available in SQLFluff, compatible with BigQuery SQL.

Project description

sqlfluff-common-conventions

A plugin for rules that enforce common SQL conventions not available in SQLFluff, compatible with BigQuery SQL.

Rules

As of 25 April 2024, all rules are compatible with snake, dromedary, and pascal case.

  • CC01: Start boolean columns with is or has.
  • CC02: End datetime, time, and timestamp columns with at.
  • CC03: End date columns with date.
  • CC04: Only allow a list of configurable strings to be used in identifiers.
  • CC05: Block a list of configurable strings from being used in identifiers.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sqlfluff_common_conventions-0.2.0.tar.gz (7.5 kB view hashes)

Uploaded Source

Built Distribution

sqlfluff_common_conventions-0.2.0-py3-none-any.whl (10.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page