Cross-language coding standard (K22-CODE-01..26) adopted from Kingsrook's QQQ CODE_STYLE.md, with profiles for C#/.NET, Java, TypeScript, Python, Rust, Go, Swift, Shell/PowerShell, and Terraform, and the files each IDE and tool imports: IntelliJ scheme, copyright profile and live templates, Checkstyle, Eclipse formatter, .editorconfig, Directory.Build.props, ESLint Stylistic, ruff, rustfmt/clippy/cargo-deny, golangci-lint, swift-format/SwiftLint, ShellCheck, PSScriptAnalyzer, TFLint, sqlfluff, VS Code. Kingsrook files keep their Apache-2.0 notice (NOTICE). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: James Maes <james@kof22.com>
SQL
.sqlfluff applies the Kingsrook IntelliJ SQL settings on the command line:
3-space indentation, upper-case keywords, functions, and types, lower-case
identifiers, no line limit. Set dialect for the repository's database.
Use
uv tool install sqlfluff
sqlfluff lint # CI
sqlfluff fix # local
IDEs
- DataGrip / IntelliJ: the Kingsrook scheme (
../intellij) sets the same SQL style; the Kingsrook SQL live templates add Liquibase changeset snippets. - VS Code: the sqlfluff extension reads this file.
Verified
Written against the sqlfluff configuration schema; not run here.