Skip to content

Configurations

gspot selects configurations from the files of each scope. gspot add <name> and gspot remove <name> change the selection, and gspot list shows it.

agents, commits, dependencies, docs, format, gspot, json, naming, prose, repository, secrets, security, spelling, structure, toml, xml, and yaml

Configuration What it checks
bash Shell scripts, hooks, and task files: lint, formatting, syntax, and the structure rules for shell.
css Style sheets and the style blocks of components: the standard stylelint rules, no left or right properties, a visible focus outline, and relative font sizes. SCSS gets formatting only.
html HTML files: valid structure, accessibility, and no inline scripts or event handlers.
javascript JavaScript files: the shipped lint rules, type checks through JSDoc, and no unused code.
json JSON, YAML, and TOML files with a known JSON Schema: each file matches its schema.
markdown Markdown files: the markdownlint rules, and code blocks that parse.
python Python sources: lint, layout, strict types, docstrings that match their signatures, and no unused code or dependencies.
sql SQL files: layout, capitalization, and references in the dialect of your database. Level all adds the join, cast, subquery, and LIMIT rules.
swift Swift sources and their XCTest and Swift Testing tests: lint and analyzer rules for each level, one format, a clean build, no unused code, a reason on each disabled test, and passing tests, with a coverage minimum at level all.
toml TOML files: each file parses and uses the layout that taplo writes.
typescript TypeScript files: the strict compiler and the shipped lint and structure rules.
xml XML files, storyboards, and XIB files: each file parses.
yaml YAML files: valid syntax, unique keys, used anchors, quoted ambiguous values, and the .yml extension.
Configuration What it checks
astro Astro components: the recommended and accessibility rules for frontmatter, markup, and scripts, and a type check of each component.
django Django views: Semgrep rules for request data in redirects, file paths, outbound requests, and HTML responses, CSRF exemptions, and insecure cookie settings.
expo Expo apps: rules for public environment variables and DOM exports, and Expo’s own project and SDK checks. The React Native configuration adds the component and style rules.
express Express services: request data passed straight to SQL text, and values or stack traces in the error a client reads.
fastapi FastAPI routes: the Ruff FastAPI rules, and Semgrep rules for request handlers.
flask Flask routes: Semgrep rules for request data in redirects, file paths, outbound requests, template source, and HTML responses, and settings that turn off CSRF or cookie protection.
mkdocs MkDocs sites: turns off the Markdown rules that break on indented admonitions, details blocks, and content tabs.
nestjs NestJS services: the compiler options that decorators need, correct providers, routes, and DTOs.
nextjs Next.js apps: the framework and hooks rules, and server code that never reaches the client. An ESLint rule refuses ignoreBuildErrors and ignoreDuringBuilds in next.config.
react React components: the recommended React and hooks rules as errors, and react-refresh rules, so Fast Refresh keeps component state.
react-dom React apps in the browser: labels, alternative text, keyboard access, and valid ARIA attributes.
react-native React Native apps: stable list keys, virtualized lists, touch targets that respond, and no credentials in AsyncStorage.
site Sites built to a folder: the build, valid HTML, broken links, unused CSS and assets, and the sitemap.
svelte Svelte components: markup and script rules, HTML injection and DOM checks at both levels, and typing rules at level all.
vue Vue components: template, script, and accessibility rules, HTML injection checks at both levels, and naming and ordering rules at level all.
Configuration What it checks
cloudflare Cloudflare Pages and Workers: valid headers and redirects files and current binding types. Level all adds security rules for worker code.
supabase A Supabase project: edge functions under Deno. Every storage bucket has a policy, and privileged keys stay in their allowed files.
Configuration What it checks
postgres Postgres migrations: the locking and breaking changes that Squawk reports, a fixed order, no edits to frozen migrations, row-level security, explicit grants, an index under every foreign key, the size and shape of functions, and at level all a fixed layout of sections, grants, lists, and policy names.
Configuration What it checks
jest Jest suites: test lint rules, and passing tests before every push. Level all adds a coverage minimum.
pytest pytest suites: test lint rules, and passing tests before every push. Level all adds a coverage minimum.
vitest Vitest suites: test lint rules, and passing tests before every push. Level all adds a coverage minimum.
Configuration What it checks
ansible Ansible playbooks, roles, and collections: the lint rules of the Ansible project.
docker Dockerfiles and Compose files: Dockerfile best practices, valid Compose files, a .dockerignore beside each Dockerfile, and image vulnerability scans.
github-actions GitHub Actions workflows: valid syntax and expressions, security audits, and pinned actions.
nginx nginx configuration: security mistakes, and a configuration test in a container.
openapi OpenAPI documents: the committed document passes its lint rules and matches what its generator writes.
xcode An Xcode project: property lists that parse, complete string catalogs, asset catalogs that hold their images, Swift files that belong to a target, no arbitrary loads, and entitlements on a list.
Configuration What it checks
drizzle No update or delete without a where clause, and migrations that match the schema.
machine-learning Model and data loading: Semgrep rules for loads that run code from the file and for remote code from a model repository. Level all adds joblib loads and hub downloads without a pinned revision.
pyjwt PyJWT tokens: Semgrep rules for a decode that skips the signature check, the none algorithm, and a signing key in the source.
react-hook-form Each form validates through a resolver, and no registered field also acts as a controlled one.
tanstack-query Complete dependency lists, stable clients, and options in a fixed order.
testing-library Testing Library tests: the lint rules of Testing Library for each framework package in use.
translations Translated interfaces: next-intl message files that parse and hold every key of the base locale. Level all adds no literal text in components.
trpc tRPC routers: every procedure validates its input, and client code imports the server files of trpc.server_files as types only.
zod Zod schemas: no unsafe APIs, and the replacement for each deprecated one.
zustand State lives in store files, and components read it through a selector.
Configuration What it checks
agents Working and writing code: rules for coding agents, and one AGENTS.md at the repository root.
commits Commit messages: a conventional type, an optional scope, a first line of 72 characters or fewer, and a wrapped body.
dependencies Known advisories, allowed registries, one package manager, a lockfile that matches its dependency file, and one package manager version. Level all adds one version of each package across a workspace.
docs Links that reach their files, anchors, and sites, and paths and commands that exist. Level all requires a README in every scope and a LICENSE at the root.
format Every file: the Prettier layout for the file types it formats, and line endings, final newlines, and trailing whitespace from editorconfig-checker. The format settings set the indentation, line length, quotes, and line endings for every formatter.
gspot Path patterns in gspot.toml that match files, current generated files, no config files that conflict with the generated ones, a reason on each suppression, and a reason for each setting made weaker.
licenses Locked dependencies: a license on the allowed list, or an allowed-package record with a reason for one package.
naming Identifiers, files, and folders: banned words, case, length, and word count.
prose Documentation: unambiguous dates. Level all adds the complete gspot style, the upstream Vale packages, and the comment rules for code.
repository Tracked files: large files outside Git LFS, merge-conflict markers, and paths that a configuration keeps out of Git.
secrets Environment files and their examples, and credentials in staged changes and pushed commits.
security Semgrep rules for unsafe code, from the FastAPI configuration and your own rule files.
spelling Spelling in every text file, with a reason for each allowed word.
structure Layout rules for code: import rules for Python and Swift, and the files that no import rule covers. Level all adds lone files, pass-through folders, shared name prefixes, file and folder clashes, long files, trivial functions, private functions below public ones, bare Swift do blocks, and environment reads outside the environment readers.