<< All versions

Skill v1.0.1

currentLLM-judged scan100/100
thermiteau/maverick/mav-bp-linting

+2 new

──Details
PublishedOctober 23, 2026 at 07:00 AM
Content Hashsha256:c8834df8edcb5a99...
Git SHA2c4bdc1df54b
Bump Typepatch
Compare with v1.0.0
──Files
Files (1 file, 3.3 KB)
SKILL.md3.3 KBactive
SKILL.md · 42 lines · 3.3 KB

version: "1.0.1" name: mav-bp-linting description: Linting conventions for applications. Covers linter selection, rule configuration, auto-formatting, CI integration, and project linting guidance. Applied when writing or reviewing code, or configuring developer tooling. user-invocable: false disable-model-invocation: true


Linting Standards

Code quality is enforced automatically through static analysis and formatting — style decisions are made once in config, then enforced by tooling, never debated in review.

Maverick's Rules

  • Error-only policy — every enabled rule is error, never warn. Warnings are noise: if a rule matters, it's an error; if it doesn't, disable it; if it has too many false positives, disable it and find an alternative. "Too many existing violations" is not a reason to downgrade — fix incrementally or baseline.
  • Linting and formatting are separate tools — disable all style/formatting rules in the linter and delegate to the formatter (ESLint + Prettier; Ruff + Ruff format for Python — Ruff replaces flake8/pylint and Black; gofmt is non-negotiable in Go).
  • ESLint flat config is mandatory — eslint.config.js, not legacy .eslintrc. Ignore patterns live in the flat config's ignores field. Ignore generated/vendor code; never ignore source code to dodge lint errors.
  • One config per project, at the root — no per-directory overrides unless structurally necessary (e.g., test files).
  • Start from recommended presets (@eslint/js + typescript-eslint recommended, eslint-plugin-react-hooks for React, Ruff defaults) and override selectively — never build a ruleset from scratch.
  • Inline disables: require an explanatory comment, scope to one line (not a file), and treat them as technical debt in review. Never use them to silence an issue instead of fixing the root cause.
  • Pre-commit hooks format only (lint-staged / pre-commit on staged files) — linting runs in CI. Never skip hooks with --no-verify; if a hook is too slow, fix the hook.
  • CI is the final gate — run the linter (fail on any error) and the formatter in check mode, on all files, not just changed ones.

Project Implementation Lookup

Check for docs/maverick/skills/linting/SKILL.md. If present, read it and follow it — it wins on specifics (library, config, conventions). If missing, proceed with these standards and note the gap in your summary.

Detecting Linting Issues in Code Review

PatternIssueFix
No linter config in projectNo automated quality checksAdd linter + formatter with recommended presets
Warnings in linter configWarnings are ignoredChange to errors or disable
Formatting rules in linterConflicts with formatterDisable formatting rules, use a dedicated formatter
Many inline disables without commentsSuppressed issues without justificationRequire explanation or fix the violations
No CI lint stepLint issues merge to mainAdd lint + format check to CI pipeline
Lint config uses legacy formatMaintenance burdenMigrate to current format (e.g., ESLint flat config)
No pre-commit formattingStyle inconsistency across commitsAdd lint-staged or equivalent
Linter running on generated/vendor codeFalse positives, slow runsUpdate ignore patterns

<!-- maverick-plugin-version: 5.1.1 -->

← v1.0.0All versions