Configs: what your IDE and tools import
Every file an editor, IDE, formatter, linter, or scanner needs to enforce the
KofTwentyTwo coding standard (Kingsrook style) and the
security standards. Each folder has a README
with exact import steps for the IDE and the command line.
By editor or IDE
| You use |
Start with |
Then add |
| IntelliJ IDEA and other JetBrains IDEs (WebStorm, PyCharm, GoLand, DataGrip) |
intellij/: Kingsrook code-style scheme, copyright profile, live templates, CheckStyle-IDEA settings |
The language folder for your project |
| Rider |
dotnet/ (.editorconfig drives Rider's formatter and inspections) |
intellij/ for non-C# files |
| Visual Studio |
dotnet/ |
|
| VS Code |
vscode/: settings and recommended extensions |
The language folder |
| Eclipse |
eclipse/: formatter profile |
java/ for Checkstyle |
| Xcode |
swift/ |
|
| Any editor |
editorconfig/: one .editorconfig for every language |
|
By language
| Language |
Folder |
Formatter / linters |
Profile |
| C# / .NET |
dotnet/ |
.editorconfig + analyzers + Meziantou, dotnet format |
csharp-dotnet.md |
| Java |
java/, intellij/, eclipse/ |
IntelliJ scheme, Checkstyle (Maven/Gradle) |
java.md |
| TypeScript / JavaScript |
typescript/ |
ESLint flat config with ESLint Stylistic, strict tsconfig |
typescript.md |
| Python |
python/ |
ruff (lint + format), pyright |
python.md |
| Rust |
rust/ |
rustfmt, clippy, cargo-deny |
rust.md |
| Go |
go/ |
gofmt, golangci-lint v2 |
go.md |
| Swift |
swift/ |
swift-format, SwiftLint |
swift.md |
| Shell and PowerShell |
shell/ |
ShellCheck, shfmt, PSScriptAnalyzer |
shell.md |
| Terraform / OpenTofu |
terraform/ |
fmt, TFLint |
terraform.md |
| SQL |
sql/ |
sqlfluff |
(Java and SQL live templates) |
Security and hooks (every repository)
| Folder |
What |
security/ |
gitleaks, Trivy, and zizmor configurations, and how to run each locally |
markdown/ |
markdownlint-cli2 config: all default rules except line length (none, per K22-CODE-08) |
pre-commit/ |
The pre-commit hook set: hygiene, secrets, Conventional Commit messages, DCO sign-off, workflow linting |
Files adopted from Kingsrook's QQQ project keep their original copyright and Apache-2.0
license; see NOTICE.