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

eslint-config-angular-strict

Latest version: v22.8.8

Overview

Last scanned
30 Nov 2026
Published
30 Nov 2026
npm package Publisher: jbz797
5 Stars
0 Forks
53 Versions
6.1K Downloads
JavaScript Repo language

Scan summary

eslint-config-angular-strict was last scanned on 30 Nov 2026 at version 22.8.8. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 53 versions; the latest 5 were published within 7 days (24–30 Nov 2026).
  • Findings: No rules fired in version 22.8.8.
  • Downloads: 6,063 downloads.

Versions

53 versions published
Versions and the rules that fired in each
VersionPublishedStatus
22.8.8 LATEST 30 Nov 2026 No rules fired
22.8.7 28 Nov 2026 No rules fired
22.8.6 26 Nov 2026 No rules fired
22.8.5 25 Nov 2026 Not shown
22.8.4 24 Nov 2026 Not shown

No rules fired in 22.8.8

Findings

Findings for v22.8.8. 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 22.8.8; other versions have their own rules, not their own score.

README

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

Overview

A production-ready, opinionated ESLint configuration that enforces best practices for Angular applications. Combines rules from industry-leading plugins into a single package with zero additional configuration required.

Features

🅰️ Angular: 40+ rules for standalone, lifecycle, components/directives standards, metadata, signals, pipes,... 📘 TypeScript: Promise-async, type imports, strict typing, type safety, extraneous classes,... ✨ Code Quality: Complexity max, file length control, import cycles detection, 100+ Unicorn best practices,... 🎨 Style: Airbnb extended, max line length, object/class newlines, sorted classes/imports/objects/types,... 📁 Naming: File/folder/class suffix conventions enforced (components, services, pipes, interfaces,...) 🔍 Templates: 30+ rules with alphabetical attrs, complexity max, control flow, trackBy, a11y, no-any,...

What's Included

✨ No additional ESLint installation needed! Everything is bundled.

  • 🎩 Airbnb Extended - Airbnb style guide
  • 🅰️ Angular ESLint - Angular-specific rules
  • ⚙️ ESLint - Core linting engine
  • 📦 Import-X - Import/export validation and cycle detection
  • 🗂️ JSON - JSON files parsing and linting
  • 📝 Markdown - Markdown files parsing and linting
  • 💅 Perfectionist - Take Your Code to a Beauty Salon
  • 🎨 Stylistic - Code formatting rules
  • 🧾 TOML - TOML files parsing and linting
  • 📘 TypeScript ESLint - TypeScript linting
  • 🦄 Unicorn - More than 100 powerful ESLint rules
  • 📄 YAML - YAML files parsing and linting

Installation

1. Install Package
yarn add eslint-config-angular-strict --dev

⚠️ Important: Remove any existing eslint dependency from your project - it's included!

2. Configure ESLint

Create an eslint.config.js file (flat config format):

import angularStrict from 'eslint-config-angular-strict';

export default [
  ...angularStrict,
  // Your custom overrides here
];
3. Update package.json

Add the following to your package.json:

{
  // ...
  "type": "module",
}
4. Lint JSON, Markdown, TOML and YAML files (optional)

JSON, Markdown, TOML and YAML files are checked against the preset of their plugin (recommended for JSON and Markdown, standard for TOML and YAML) and the Unicorn rules recommended for them, but ng lint only looks at the patterns declared in angular.json. Add the ones you need there — files ignored by git are skipped:

{
  // ...
  "lint": {
    "builder": "@angular-eslint/builder:lint",
    "options": {
      "lintFilePatterns": ["src/**/*.ts", "src/**/*.html", "**/*.json", "**/*.md", "**/*.toml", "**/*.yaml", "**/*.yml"],
    },
  },
}

TypeScript Configuration

Make sure your tsconfig.json is properly configured:

{
  "compilerOptions": {
    // ...
    "allowUnreachableCode": false,
    "allowUnusedLabels": false,
    "exactOptionalPropertyTypes": true,
    "noImplicitOverride": true,
    "noUncheckedIndexedAccess": true,
    "noUnusedLocals": true,
    "noUnusedParameters": true,
    "target": "esnext",
  },
  "angularCompilerOptions": {
    // ...
    "extendedDiagnostics": { "defaultCategory": "error" },
    "strictInjectionParameters": true,
    "strictStandalone": true,
    "strictTemplates": true,
  },
}

ℹ️ Note: target: "esnext" auto-includes the latest standard lib (esnext + DOM), which several Unicorn rules require. Without it, some rules may suggest APIs that TypeScript doesn't recognize as built-in. No need to set lib explicitly — TypeScript infers it from target.

Prettier

This config handles TypeScript formatting via ESLint. Prettier should only be used for HTML templates.

Recommended .prettierrc
{
  "htmlWhitespaceSensitivity": "ignore",
  "overrides": [
    {
      "files": "*.html",
      "options": { "parser": "angular" }
    }
  ],
  "printWidth": 165,
  "singleQuote": true
}

ℹ️ Note: htmlWhitespaceSensitivity: "ignore" lets Prettier break a template wherever it reads best, instead of leaving dangling > to avoid adding whitespace. Angular already drops whitespace-only text between two tags, so nothing changes there. Whitespace next to text is still rendered, though: Prettier may add a space between a tag and the text glued to it (</i>{{ label }}), and it trims the spaces at the edges of a tag (<span> - </span>). A space in the middle of text is safe ({{ title }} - <span>…</span>, <small>{{ label }}: {{ value }}</small>): keep it there rather than at the edge of a tag. Otherwise, never rely on a typed space for spacing: use CSS, wrap the text in its own tag, or, as a last resort, write the space as &ngsp;.

Recommended lint scripts (package.json)
{
  "scripts": {
    // ...
    "lint": "ng lint && prettier --check \"src/**/*.html\"",
    "lint:fix": "ng lint --fix && prettier --write \"src/**/*.html\"",
  },
}

⚠️ Important: Only target *.html files with Prettier. Running Prettier on .ts files will conflict with ESLint Stylistic rules.

Recommended VS Code settings
{
  // ...
  "[html]": { "editor.defaultFormatter": "esbenp.prettier-vscode" },
  "editor.defaultFormatter": "dbaeumer.vscode-eslint",
  "editor.formatOnSave": true,
  "editor.formatOnType": true,
  "eslint.format.enable": true,
  "eslint.validate": [, /*...*/ "html", "typescript"],
}

This ensures ESLint handles .ts formatting on save, while Prettier handles .html templates.

Beyond Angular

The config also works as-is in a TypeScript project without Angular, such as a Node backend or Cloud Functions: the Angular rules have nothing to report there, and everything else applies, file naming conventions included. The installation is the same; without ng lint, run ESLint directly on the files you want:

{
  "scripts": {
    // ...
    "lint": "eslint \"**/*.{json,md,toml,ts,yaml,yml}\"",
  },
}

In tsconfig.json, leave out angularCompilerOptions and pick the target that matches your runtime. The Prettier section only concerns Angular templates.

Contributing

Contributions are welcome! Please open an issue or submit a PR.

License

MIT © Jean-benoit Gautier

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 eslint-config-angular-strict

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

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

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?

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Frame 2085668439 (1)
Group 1261154229