Static analysis
4 tools
| Tool | Kind | Command | Runs in | Found in |
|---|---|---|---|---|
eslint |
Linting | eslint --quiet --color --cache **/*.{js,ts} |
local | Makefile package.json .eslintrc.json test/fixtures/qs-package/node_modules/extend/.eslintrc |
gitleaks |
Secret scanning | pre-commit hook gitleaks |
pre-commit | .pre-commit-config.yaml |
golangci-lint |
Linting | golangci-lint run -v |
local | cliv2/Makefile cliv2/.golangci.yaml |
tsc |
Type checking | tsc |
local | ts-binary-wrapper/package.json package.json |
Testing
2 tools
| Tool | Kind | Command | Runs in | Found in |
|---|---|---|---|---|
go-test |
Unit and integration tests | go test ./... |
local | Makefile |
jest |
Unit and integration tests | jest --runInBand --testPathPattern '/test(/jest)?/unit/jest --maxWorkers=1 --testPathPattern /test(/jest)?/acceptance/ --reporters=j...jest test/* |
local | Makefile package.json ts-binary-wrapper/package.json cliv2/jest.config.ts |
Formatting and hygiene
2 tools
| Tool | Kind | Command | Runs in | Found in |
|---|---|---|---|---|
gofmt |
Formatting | gofmt -w -l -e . |
local | cliv2/Makefile |
prettier |
Formatting | prettier --write **/*.mdprettier --write README.mdprettier --write **/*.{js,ts,json,yaml,yml,md} |
ci, local | .github/workflows/sync-cli-help-to-user-docs.yml .github/workflows/sync-cli-readme.yml Makefile package.json |
13 other commands the scanner could not classify
Commands from CI steps and task runners that look like checks but match no known tool. Some are checks, some are not.
ISSIGNED_SCRIPT = $(SPECIAL_SHELL) $(WORKING_DIR)/scripts/issigned_$(GOHOSTOS).ps1SHASUM_CMD = $(SPECIAL_SHELL) $(WORKING_DIR)/scripts/shasum.ps1SIGN_SCRIPT = $(SPECIAL_SHELL) $(WORKING_DIR)/scripts/sign_$(GOHOSTOS).ps1SPECIAL_SHELL = powershellgpg --verify sha256sums-experimental.txt.ascgpg --verify sha256sums-preview.txt.ascgpg --verify sha256sums-stable.txt.ascnpm-run-all --serial --continue-on-error lint:*sh -s -- -b ${GO_BIN} ${OVERRIDE_GOCI_LINT_V}tap -Rspec --timeout=300 test/tap/*.test.*tr -d )ts-node ./scripts/check-dependencies.tswc -l
Review prompts
most discussed first