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

@jubstaa/config

Latest version: v3.11.0

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: jubstaa
0 Stars
0 Forks
24 Versions
3.6K Downloads
TypeScript Repo language

Scan summary

@jubstaa/config was last scanned on 29 Nov 2026 at version 3.11.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 24 versions; the latest 5 were published on 29 Nov 2026.
  • Findings: No rules fired in version 3.11.0.
  • Downloads: 3,594 downloads.

Versions

24 versions published
Versions and the rules that fired in each
VersionPublishedStatus
3.11.0 LATEST 29 Nov 2026 No rules fired
3.10.0 29 Nov 2026 No rules fired
3.8.0 29 Nov 2026 Not shown
3.7.1 29 Nov 2026 Not shown
3.7.0 29 Nov 2026 Not shown

No rules fired in 3.11.0

Findings

Findings for v3.11.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 3.11.0; other versions have their own rules, not their own score.

README

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

configs

Shared ESLint, TypeScript, Prettier and Renovate configuration for the repositories in this account.

Before this existed, ten repositories carried ten copies of the same settings and had drifted apart: four Next.js apps agreed on only a fifth to a third of their ESLint rules, Prettier was spelled three different ways across three different file names, and one project had ended up on the opposite formatting style — semicolons on, two-space indent — from every other. The settings here are the ones most of those repositories already agreed on, raised to the strictest version any of them had reached.

Getting started

bun add -D @jubstaa/config

Usage

ESLint

Pick the preset that matches the project and pass it the directory holding tsconfig.json, which the type-aware rules need:

// eslint.config.ts
import { next } from '@jubstaa/config/eslint/next'

export default next({ tsconfigRootDir: import.meta.dirname })

The presets ship their own types, so a TypeScript config is checked like any other source file: a misspelled option or a wrong refresh target is a type error rather than a silent no-op. ESLint loads it through jiti, which comes with this package — nothing else to install. eslint.config.mjs still works.

next for a Next.js app, node for a server or CLI, library for a published package, base for anything else. Each returns a flat config array, so project rules go after it:

export default [
    ...next({ tsconfigRootDir: import.meta.dirname }),
    { rules: { 'no-console': 'off' } },
]

Pass internalPattern when the project's path alias is not @/:

next({
    internalPattern: ['^@/', '^#site/'],
    tsconfigRootDir: import.meta.dirname,
})
TypeScript
{
    "extends": "@jubstaa/config/tsconfig/next",
    "compilerOptions": { "paths": { "@/*": ["./src/*"] } },
    "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"]
}

paths, include and exclude stay in the project: they describe its layout, not its standards.

Prettier
{ "prettier": "@jubstaa/config/prettier" }
Renovate
{ "extends": ["github>Jubstaaa/configs"] }

One line per repository, and the dependency policy lives in one place. Dependabot has no equivalent — its configuration cannot be shared — which is the reason to move.

Patch and minor updates merge on their own through Renovate's platform automerge, which waits for the branch ruleset's required checks, so no repository needs a workflow holding a token to merge its own pull requests. Majors wait for a human, and so do four framework groups wherever they appear: payload (a bump can need a schema migration), next and react (they change prerendering and the RSC runtime) and tailwind (the generated CSS). GitHub Actions and container majors wait too, since those run inside a deploy next to its secrets. A rule only matches a package the project actually has, so a repository without Payload is unaffected by the Payload rule.

eslint (with typescript-eslint and the plugins) and vite move as one group each. TypeScript majors are held back for every repository: typescript-eslint does not support TypeScript 7 yet, so taking it breaks lint. Remove that rule from default.json once typescript-eslint's peer range includes 7.

New npm, Cargo and GitHub Actions releases wait a week before a pull request is opened: compromised versions are usually caught and pulled within days. Security updates do not wait. A repository that wants a longer cooldown sets minimumReleaseAge itself.

React Native projects on Expo need no extra line. The Expo packages move as one group everywhere, and the versions each Expo SDK pins (react, react-native, reanimated and so on) are held back only in apps/mobile, where the Expo app lives: holding react back anywhere else would freeze it in every web project.

Dependency rules

dependency-cruiser holds the rules every project shares: no import cycles, no orphan modules, no dev dependency imported from shipped code, nothing unresolvable, deprecated or missing from package.json. A project extends it and adds its own architecture rules; a rule with the same name replaces the shared one.

import type { IConfiguration } from 'dependency-cruiser'

const config: IConfiguration = {
    extends: '@jubstaa/config/dependency-cruiser',
    forbidden: [
        {
            from: { path: '^src/lib/' },
            name: 'lib-not-to-app',
            severity: 'error',
            to: { path: '^src/app/' },
        },
    ],
}

export default config

Save it as .dependency-cruiser.ts; Node 26 runs it as is. The package also ships dependency-cruiser.js at its root, because dependency-cruiser resolves extends without reading the exports map.

Tailwind

@jubstaa/config/prettier/tailwind is the Prettier config with the Tailwind class sorter and package.json key sorting already wired in, so a project does not install or list the plugins itself:

export { default } from '@jubstaa/config/prettier/tailwind'

For a Tailwind v4 stylesheet other than the default, call it: export default tailwind({ stylesheet: './src/styles/global.css' }). The ESLint next and react presets take tailwindEntry: 'src/app/globals.css', which turns on eslint-plugin-better-tailwindcss correctness rules (unknown, duplicate and conflicting classes).

Dockerfile lint

hadolint.yaml is the shared hadolint configuration. It ignores DL3018 (pinned apk add versions break on every Alpine point release) and DL3066 (a named non-root USER is fine) and keeps every other rule on. The quality-gate workflow of deploy-actions uses it for a repository without its own .hadolint.yaml. A repository that serves HTTP opts in to the missing-HEALTHCHECK rule in its own .hadolint.yaml:

override:
    error:
        - DL3057
hadolint --config node_modules/@jubstaa/config/hadolint.yaml Dockerfile
Repository checks

alint.yml is the ruleset every repository is checked against, run by alint. It is the single source of truth for what is required (files, package fields, script names, .node-version, .gitignore entries, README structure, the dependency-cruiser and jscpd settings, and the banned CLAUDE.md, AGENTS.md and docs/ files); read the file for the exact list instead of a copy of it here, which would drift.

.env.example is checked in three ways: a private application whose source reads a credential from process.env, import.meta.env or Bun.env (a name ending in _KEY, _SECRET, _TOKEN, _PASSWORD, _DSN, or DATABASE_URL or DATABASE_URI) must commit one; its values must not look like real secrets; and .gitignore must not ignore it (ignore .env and .env.local, or add !.env.example after a .env* pattern). GitHub Actions, published libraries, and apps that read only NODE_ENV, PORT, CI or platform variables are exempt: alint cannot tell a required variable from an optional one, so the check keys on credential names and stays silent otherwise.

uvx alint check -c node_modules/@jubstaa/config/alint.yml

The reusable doctor workflow of deploy-actions runs it on every pull request. YAML comments are limited to machine-readable ones: the version after a pinned action SHA, which Renovate reads, and the directives of yaml-language-server, renovate, yamllint, checkov, trivy, noqa, shellcheck, prettier-ignore and zizmor. The rule is a generated regex, so it misses prose that starts with a digit.

The reason to keep comments out of YAML is the same as in code: a comment cannot be run, so it goes stale without anything failing. Rationale belongs in the README, where it is read; the workflow should say what it does by itself.

The release pull request is opened with a token minted from a GitHub App rather than GITHUB_TOKEN: a pull request opened with the built-in token starts no workflows, so its required checks would never report and the release would sit blocked behind the branch ruleset. The App's token lasts an hour, where a personal access token would live for ever.

Two things the release workflow no longer says in a comment, because they are easy to break and belong here: it runs on the Node in .node-version (26), whose npm is newer than the 11.5.1 trusted publishing needs, and it deliberately sets no NODE_AUTH_TOKEN — npm reverts to token authentication when one is present, and the OIDC identity (id-token: write) is the credential that also produces provenance.

Branch protection

Not here. Jubstaaa/protect-main keeps a ruleset on every repository's default branch in step with the checks its pull requests actually report, on a schedule, so a repository created tomorrow is covered without being named.

ESLint 10 is required: the presets read .gitignore through the includeIgnoreFile that eslint/config exports, which ESLint 9 does not have.

How this package is built

The presets are TypeScript, compiled to JavaScript and .d.ts by tsc into dist/, which is what the exports map points at. Authoring them in TypeScript is not cosmetic: when they were .js the type-aware rules never looked at them, so a deprecated API and a plugin config that can be undefined sat in them unnoticed. Both are fixed here.

outDir is not in the TypeScript bases any more. A relative outDir resolves against the file that declares it, so a project extending @jubstaa/config/tsconfig/library and emitting would have written its build into node_modules. Paths describe a project's layout, so they belong in the project.

The ESLint presets also include eslint-plugin-regexp (regex mistakes and super-linear backtracking), eslint-plugin-eslint-comments (every eslint-disable needs a -- reason), and eslint-plugin-depend, which flags a dependency that has a native or lighter replacement (axios for fetch, for example), and a short list of eslint-plugin-unicorn rules that prefer the platform's own methods (replaceAll, Set#has, node: imports and similar). The rest of unicorn is left off: its naming and null rules are opinions, not defects.

Size and complexity limits are errors: complexity 15, max-depth 4, max-params 5, max-lines-per-function 100 and max-lines 400 (blank lines and comments do not count; test files are exempt from the two line limits).

What the presets decide

Type-aware linting everywhere. strictTypeChecked and stylisticTypeChecked from typescript-eslint, not the plain recommended preset. These catch floating promises, unsafe any flow and misused await — the bugs that type checking alone does not.

Imports are sorted and type-only imports are marked. Perfectionist sorts them naturally; consistent-type-imports writes them inline. That combination is what verbatimModuleSyntax needs to erase types correctly.

Imports reach at most one level up. ./x and ../x are fine; ../../x and deeper are an error, as is ../... Use the @/ alias in apps, or the package imports field (#...) in published libraries, so a file can move without rewriting its imports.

Unused code is an error, with _ as the escape hatch. A leading underscore on a variable, argument or caught error silences it, so a deliberate placeholder reads differently from an oversight.

No comments. eslint-plugin-no-comments rejects comment blocks. Directives still pass — @ts-expect-error, eslint-disable, prettier-ignore, v8 ignore — because those are instructions to tooling, not prose. The reasoning that would have gone in a comment goes in the commit message, the pull request, or a file like this one.

console is limited to error and warn, which are the levels that go to server logs. Scripts and config files are exempt, since reporting to a terminal is their job.

Tests relax two rules. Asymmetric matchers (expect.any, expect.stringContaining) are typed any by every test runner, so no-unsafe-argument and no-unsafe-assignment would fire on correct code.

Prettier goes last and turns off every rule it owns, so formatting is settled in one place.

What the TypeScript bases decide

Beyond strict, all four turn on the checks that catch real bugs rather than style: noUncheckedIndexedAccess (an array lookup can miss), exactOptionalPropertyTypes (absent is not the same as undefined), noImplicitOverride, noImplicitReturns and noFallthroughCasesInSwitch.

noUnusedLocals and noUnusedParameters are deliberately left off: ESLint's no-unused-vars already covers them, reports them as you type, and understands the _ prefix.

verbatimModuleSyntax is on, so a type import that is not marked as one is an error rather than a runtime import of nothing.

Formatting

Four spaces, no semicolons, single quotes, es5 trailing commas, arrow parentheses omitted where possible, and the closing bracket on the same line. Prettier's default print width is kept, which is why no printWidth appears.

.editorconfig is not installable from a package; copy the one at the root of this repository into a project that needs it.

License

MIT

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 @jubstaa/config

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

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

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

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

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229