Skip to content

Instantly share code, notes, and snippets.

@twilight2368
Created May 14, 2025 09:12
Show Gist options
  • Save twilight2368/e9326e7206424eaa4c57b2c7fc78dba7 to your computer and use it in GitHub Desktop.
Save twilight2368/e9326e7206424eaa4c57b2c7fc78dba7 to your computer and use it in GitHub Desktop.

πŸ§‘β€πŸŽ¨ Code Style & Linting Tools by Language/Technology


🌐 HTML

Tool Purpose
HTMLHint Lints HTML for syntax and best practices
W3C Nu Html Checker Validates HTML for W3C compliance

🎨 CSS / SCSS / Less

Tool Purpose
Stylelint Linter for CSS/SCSS/Less β€” validates syntax, enforces style rules
Prettier Formats CSS and SCSS (no rule enforcement)
SCSS-Lint (deprecated) Older Ruby-based SCSS linter
PostCSS plugins Lint-like transformations via custom plugins

πŸ“¦ JavaScript / TypeScript

Tool Purpose
ESLint Most popular JS/TS linter β€” customizable and extensible
Prettier Opinionated code formatter
JSHint Lightweight, older JS linter
TSLint (deprecated) Was used for TypeScript; now replaced by ESLint + TS plugin

βš›οΈ React / JSX / Vue / Svelte

Tool Purpose
eslint-plugin-react Adds React-specific rules to ESLint
eslint-plugin-jsx-a11y Accessibility rules for JSX
eslint-plugin-vue Vue-specific ESLint rules
eslint-plugin-svelte3 Svelte linting via ESLint
Vetur / Volar VS Code plugins for Vue with linting support

🐍 Python

Tool Purpose
Flake8 Lints for PEP8 compliance and other style issues
Black Opinionated autoformatter
Pylint Static analysis and linting with detailed feedback
Ruff Fast, all-in-one Python linter and formatter

🐘 PHP

Tool Purpose
PHP_CodeSniffer Enforces PHP coding standards
PHPStan Static analysis and type safety
Psalm Advanced type-based static analysis

β˜• Java

Tool Purpose
Checkstyle Code style checker for Java
PMD Finds common code issues
SpotBugs Static analysis for Java bugs

🧱 C / C++

Tool Purpose
clang-format Code formatter from the LLVM project
cpplint Google's C++ style checker
cppcheck Static analysis tool for bugs and memory leaks

πŸ”· C# / .NET

Tool Purpose
StyleCop Analyzers Style rules for C# via Roslyn
Roslyn Analyzers Custom rules and static analysis in .NET

βš™οΈ Go

Tool Purpose
golint Code style suggestions
go vet Finds suspicious constructs
gofmt / goimports Code formatters for consistency

🐳 Docker / Kubernetes

Tool Purpose
Hadolint Dockerfile linter
Kubeval Validates Kubernetes configuration
KubeLinter Checks Kubernetes YAML for best practices

πŸ“„ JSON / YAML / Markdown

Tool Purpose
Prettier Formats JSON, YAML, and Markdown files
yamllint YAML-specific linter
markdownlint Markdown linter for style consistency

πŸ” Security / Infrastructure as Code

Tool Purpose
TFLint Linter for Terraform
Checkov Security scanner for Terraform, CloudFormation, etc.
ESLint-plugin-security Finds potential security issues in JS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment