@typescript-eslint/utils 8.x
Use @typescript-eslint/utils ^8.0.0 to author typed custom ESLint rules, work with TypeScript-ESTree node types, and access parser services from rules running under ESLint.
- For
@typescript-eslint/utils@8.70.0- Verified
- 2026-09-08, 3 examples executed
- Package
@modootoday/pmcp-typescript-eslint-utils@8.0.0
What it covers
- What this package is
- Creating a rule
- AST node types
- Parser services and typed rules
- v8 compatibility notes
- Testing and adjacent configuration
- What this skill does not cover
One example from this skill
This is the skill's own text, not a summary of it. It runs: that is what verifying means here.
import assert from 'node:assert/strict';
import { ESLintUtils } from '@typescript-eslint/utils';
const createRule = ESLintUtils.RuleCreator(
name => `https://typescript-eslint.io/rules/${name}`,
);
const rule = createRule({
name: 'demo-rule',
meta: {
docs: { description: 'Demonstrates a rule.' },
messages: { found: 'Found it.' },
type: 'suggestion',
schema: [],
},
defaultOptions: [],
create(context) {
return {
Identifier(node) {
if (node.name === 'bad') {
context.report({ messageId: 'found', node });
}
},
};
},
});
assert.equal(rule.meta.messages.found, 'Found it.');
const reports: unknown[] = [];
const visitors = rule.create({
report(problem: unknown) {
reports.push(problem);
},
} as never);
visitors.Identifier({ type: 'Identifier', name: 'bad' } as never);
assert.equal(reports.length, 1);
What it did in the sandbox
Verifying this skill meant installing the package and running code against it with no route out. Nothing was observed. The full ledger lists every package examined, including the ones that never became a skill.
Nothing observed is not a finding of safety. It means one run, under one policy, produced nothing to report.
Getting it
With a subscription:
npx -y @modootoday/pmcp login
npx -y @modootoday/pmcp install @modootoday/pmcp-typescript-eslint-utils
It installs as a dev dependency of your project, and the MCP server finds it there like any other skill.