Lint

How to lint and typecheck in this project. Load when implementing or verifying code.

aiskillstore Updated

File contents

Lint Skill

Project-specific linting and typechecking.

Lint Commands

# Run linter
# TODO: Add your lint command
npx eslint {files}
# ruff check {files}
# golangci-lint run

# Auto-fix
npx eslint {files} --fix
# ruff check {files} --fix

Typecheck Commands

# Run typecheck
# TODO: Add your typecheck command
npx tsc --noEmit
# mypy {files}
# go build ./...

Common Issues

Import Order

Run auto-fix to sort imports.

Unused Variables

Remove or prefix with _.

Type Errors

Check that types match expected signatures.

aiskillstore/marketplace commit 293cc50a53

Frequently asked questions

npx skillmds@latest add aiskillstore/lint