sasjs-lint SKILL.md skillA

sasjs-lint from sasjs/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add sasjs/skills/sasjs-lint@git:20261027.33cff4c

Pins git:20261027.33cff4c in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
sasjs/skills
Path
sasjs-lint/SKILL.md
Versions recorded
2
Latest version
git:20261027.33cff4c, committed Oct 27, 2026
First version recorded
Oct 1, 2026
Size
18,048 bytes
Repository stars
3
License
MIT

Linting and formatting SAS code with @sasjs/lint - the .sasjslint rules and their defaults, the macro-declaration rules and ignoredMacros, banned strings, severityLevel and exit codes, per-file @sasjslint overrides, what the formatter fixes, and how the SASjs CLI, VS Code extension and SASjs Server run it. Use when configuring lint rules, resolving a lint warning, or wiring lint into CI, a git hook or an editor.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# @sasjs/lint

<!-- SPDX-License-Identifier: MIT -->

`@sasjs/lint` is the linting and formatting engine for SAS code. It is a TypeScript library with no SAS dependency - it reads `.sas` files as text - and it is the single engine behind `sasjs lint`, the SASjs VS Code extension's Problems panel, and the SASjs Server Studio editor.

This skill covers the rules, the `.sasjslint` file, the formatter, and the ways to invoke it. It does not cover the SAS language itself (see `sas`) or the rest of the CLI (see `sasjs-cli`).

The rules and defaults below were checked against `@sasjs/lint` 4.5.0, the version bundled by `@sasjs/cli` 6.2.5. The library gains rules over time, so a surface that pins an older copy will not have all of them - see *Where it runs*.

## When to use

- Writing or changing a `.sasjslint` file
- A `sasjs lint` run reports a warning and you need to know what it means or how to silence it
- Adding lint to a CI pipeline or a git pre-commit hook
- Running the formatter (`sasjs lint fix`, format-on-save, `formatText`)
- Explaining why a rule does or does not fire in an editor

## Where it runs

| Surface | How it is invoked | Notes |
|---|---|---|
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add sasjs/skills/sasjs-lint@sha256:e52d99adf3960f3d

The line at the top of this page pins the label git:20261027.33cff4c, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_2ywapqjcebrixw3q.svg)](https://markdownregistry.com/a/art_2ywapqjcebrixw3q)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Oct 1, 2026 and Oct 27, 2026, about one every 26 days.

versioncommittedcommitsizeaudit
git:20261027.33cff4c latest2026-10-27 33cff4c 18,048 BA view · diff
git:20261001.ff1e7ef2026-10-01 ff1e7ef 12,489 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (18048 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

sasjs/skills · 3 stars · license MIT · pushed 2026-11-03 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_2ywapqjcebrixw3q
GET https://markdownregistry.com/api/v1/resolve?ref=sasjs/skills/sasjs-lint
GET https://markdownregistry.com/api/v1/blob/e52d99adf3960f3d0c498d9e4c526f4293abc31098ad8cdc2ce63544a565ab50

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from sasjs/skills

sas-packages SKILL.md skill
sasjs/skills · sas-packages/SKILL.md · Installing, loading and unloading SAS packages with the SAS Packages Framework (SPF) and the SASPAC archive - the…
git:20260925.6f49a2b · audit A · 3 stars
sas SKILL.md skill
sasjs/skills · sas/SKILL.md · Expert guidance for the SAS programming language - DATA step, PROC SQL, macro language, formats, ODS, and common…
git:20261103.7a7a8d4 · audit A · 3 stars
sasjs-adapter SKILL.md skill
sasjs/skills · sasjs-adapter/SKILL.md · Frontend/Node integration with SAS backends using @sasjs/adapter - configuring the SASjs class, the exact request()…
git:20260915.398399c · audit B · 3 stars
sasjs-cli SKILL.md skill
sasjs/skills · sasjs-cli/SKILL.md · Using the SASjs CLI (@sasjs/cli) to create, compile (whole project or a single file), build, deploy, run, and test…
git:20261027.fdf3d8b · audit A · 3 stars
sasjs-core SKILL.md skill
sasjs/skills · sasjs-core/SKILL.md · Standards and conventions for the @sasjs/core SAS macro library (mf_*, mp_*, mm*, ms_*, mv_* macros). Use when writing…
git:20261103.7a7a8d4 · audit A · 3 stars
sasjs-framework SKILL.md skill
sasjs/skills · sasjs-framework/SKILL.md · Building full SASjs applications - project structure, sasjsconfig.json, services/jobs/macros folders, multi-target (SAS…
git:20260921.4fac612 · audit A · 3 stars
sasjs-server SKILL.md skill
sasjs/skills · sasjs-server/SKILL.md · Installing, configuring, and running @sasjs/server - the open-source NodeJS wrapper around the SAS binary that provides…
git:20261101.6faff03 · audit B · 3 stars

Every file in sasjs/skills

Browse by kind, by grade A, or by owner.