Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@pragmatiks/lint

Latest version: v0.14.0

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: tngotr
0 Stars
0 Forks
10 Versions
2.1K Downloads
TypeScript Repo language

Scan summary

@pragmatiks/lint was last scanned on 29 Nov 2026 at version 0.14.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 10 versions; the latest 2 were published on 29 Nov 2026.
  • Findings: No rules fired in version 0.14.0.
  • Downloads: 2,103 downloads.

Versions

10 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.14.0 LATEST 29 Nov 2026 No rules fired
0.13.0 29 Nov 2026 No rules fired
0.12.0 20 Nov 2026 No rules fired
0.11.0 20 Nov 2026 Not shown
0.10.1 8 Nov 2026 Not shown

No rules fired in 0.14.0

Findings

Findings for v0.14.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.14.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@pragmatiks/lint

Library-only eslint flat config and bundled semgrep rules for Pragmatiks engineering principles.

This package has no bin entry. Command-line integration belongs in pragma-cli.

Peer dependencies

Requirements: Node ^22.13.0 || >=24.

Package-wide (the root entry and /eslint-config/next):

Package Range
eslint ^10.11.0
typescript-eslint ^8.70.1
eslint-plugin-sonarjs ^4.0.0
eslint-plugin-unicorn ^64.0.0

/eslint-config/next only (optional peers; install them when you use @pragmatiks/lint/eslint-config/next; /eslint-config/css needs @eslint/css alone):

Package Range Why
@tailwindcss/node ~4.3.3 Compiles class strings with the project's own Tailwind design system
tailwindcss ~4.3.3 Version check against the project
@tailwindcss/postcss ~4.3.3 Version check against the project
@eslint/css ^2.0.0 Lints .css files
eslint-plugin-react-x ^5.20.8 Leaked conditional rendering (typed)

The project's tailwindcss, its @tailwindcss/postcss and the @tailwindcss/node this package imports must be the same version, or loading the config throws. @eslint/css-tree is a regular dependency.

@pragmatiks/lint/eslint-config

The base config for JavaScript and TypeScript, also exported from the package root:

import { PRAGMATIKS_LINT_FILES, pragmatiksConfig } from "@pragmatiks/lint";

export default pragmatiksConfig();

Every object except the global ignores, the sonarjs and unicorn recommended presets included, applies only to PRAGMATIKS_LINT_FILES (**/*.{js,jsx,mjs,cjs,ts,tsx,mts,cts}), so the config composes with configs for other languages such as CSS.

Comment ban (principle 10)

pragmatiks-comments/no-comments flags every JavaScript and TypeScript comment except:

  • a JSDoc block (/** ... */, in JSX {/** ... */} too) and a line-1 shebang;
  • a bare tool directive, matched against the whole comment: eslint-disable, eslint-disable-line, eslint-disable-next-line and eslint-enable with an optional rule list (@scope/rule names, comma separated), eslint <config>, global / globals, exported, @ts-expect-error and /// <reference ... />.

A directive with a -- description or other prose is flagged, matching the Python pragmatiks_lint.comments check; the rationale belongs in the owning JSDoc. TODO(PRA-n) gets no exception. @typescript-eslint/ban-ts-comment is set to allow a bare @ts-expect-error; @ts-ignore and @ts-nocheck stay flagged. The rules live in the pragmatiks-comments plugin, a name distinct from the /next frontend plugin, and the base config registers the typescript-eslint plugin instance eslint-config-next also registers.

@pragmatiks/lint/eslint-config/css

The stylesheet config, one object for **/*.css that parses with @eslint/css (optional peer ^2.0.0) tolerantly and turns on pragmatiks-comments/css-no-comments, which flags every CSS comment except a bare ESLint directive:

import { pragmatiksConfig } from "@pragmatiks/lint";
import { pragmatiksCssConfig } from "@pragmatiks/lint/eslint-config/css";

export default [...pragmatiksConfig(), pragmatiksCssConfig()];

pragmatiksNextConfig already includes it.

@pragmatiks/lint/eslint-config/unit-test

The unit-test config, one object for tests/unit/** that bans the vi mock, stub and fake-timer helpers (vi.mock, vi.doMock, vi.spyOn, vi.fn, vi.stubGlobal, vi.stubEnv, vi.useFakeTimers, vi.setSystemTime), msw, the Node I/O modules (fs, fs/promises, child_process, net, http, https, http2, dgram, dns, tls, process, worker_threads, bare and node:) and the globals fetch, XMLHttpRequest, WebSocket, EventSource and process, bare or through globalThis, window or self. Unit tests cover pure decisions with real inputs. It sets no-restricted-properties, no-restricted-imports and no-restricted-globals for those files, and bans require() and import() of those modules through no-restricted-syntax, so place it last. A later flat config replaces a rule's options, so a Next app uses pragmatiksNextUnitTestConfig from @pragmatiks/lint/eslint-config/next instead, which keeps the Next config's restricted imports, properties and syntax:

import { pragmatiksConfig } from "@pragmatiks/lint";
import { pragmatiksUnitTestConfig } from "@pragmatiks/lint/eslint-config/unit-test";

export default [...pragmatiksConfig(), pragmatiksUnitTestConfig()];
import { pragmatiksNextConfig, pragmatiksNextUnitTestConfig } from "@pragmatiks/lint/eslint-config/next";

export default [...(await pragmatiksNextConfig(options)), pragmatiksNextUnitTestConfig()];

@pragmatiks/lint/eslint-config/next

In the app's eslint.config.mjs:

import nextVitals from "eslint-config-next/core-web-vitals";
import nextTs from "eslint-config-next/typescript";
import { pragmatiksNextConfig } from "@pragmatiks/lint/eslint-config/next";

export default await pragmatiksNextConfig([...nextVitals, ...nextTs], {
  rootDir: import.meta.dirname,
  tailwindStylesheet: "app/globals.css",
});

Run it with eslint . --max-warnings 0; the Next presets report some rules as warnings.

Composition, in order:

  1. The Next configs. Objects without files get the glob of the one object that registers jsx-a11y; the config throws unless there is exactly one. Ignore-only objects stay global.
  2. pragmatiksConfig() on **/*.{js,jsx,mjs,cjs,ts,tsx,mts,cts}. Its typescript-eslint parser replaces Next's Babel parser on JavaScript files too.
  3. The frontend rules on the jsx-a11y glob.
  4. react-x/no-leaked-conditional-rendering on **/*.{ts,tsx,mts} with typed linting (projectService, tsconfigRootDir: rootDir).
  5. The CSS rules on **/*.css (css/css, tolerant parsing).

Every config object you add after the result must set files, for example files: PRAGMATIKS_LINT_FILES from @pragmatiks/lint. An object without files also applies to .css files, and JavaScript rules crash on them.

Operating notes
  • Not --cache-safe across stylesheet edits. Class checks depend on the stylesheet, which ESLint's cache does not track.
  • Restart after editing a stylesheet. The design system loads when the config is built, so persistent ESLint processes and editor servers keep the old theme until restarted.
  • Tailwind bumps. Rerun the class-token corpus (tests/next-class-tokens.test.ts, AC-1) at the new version before widening the ~4.3.3 peer range. The config uses Tailwind's __unstable__loadDesignSystem; a load canary and the version check fail fast when it changes shape.
Focus patterns
  • P1, the only class pattern: focus-visible:outline-hidden focus-visible:ring-2. Optional extras: one project ring color (a theme color that is not from Tailwind's default palette, @theme inline colors included, ring-(--x) or ring-[var(--x)], with no / modifier), one ring-offset-<n> and one project offset color; a ring-offset-<n> above 0 needs the offset color, and ring-offset-0 allows it but needs none. Every in-scope token has exactly the focus-visible variant and no !.
  • C1, the only CSS pattern: every selector in the list ends in :focus-visible (an @variant focus-visible block counts as one), and the declarations are exactly outline: <non-zero width> solid var(--token) plus an optional outline-offset, without !important.
Rules

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @pragmatiks/lint

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Frame 2085668439 (1)
Group 1261154229