
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
@krema/angular-eslint-stylelint-builder
Advanced tools
A unified Angular CLI builder for linting Angular projects with ESLint and Stylelint in a single step.
The table below outlines the compatible versions for Angular, Stylelint, and ESLint with each major release of our tool:
Version | Angular | Stylelint | ESLint |
---|---|---|---|
v1.x | 9–15 | ≤15 | ≤8 |
v2.x | 16–17 | 16+ | 9+ |
v3.x | 18+ | 16+ | 9+ |
eslint.config.js
for flat config, or .eslintrc
for legacy config, and stylelint.config.js
for Stylelint)npm install --save-dev @krema/angular-eslint-stylelint-builder
Update your angular.json
Replace the default lint builder with this one:
"lint": {
"builder": "@krema/angular-eslint-stylelint-builder:lint",
"options": {
"eslintFilePatterns": ["**/*.ts"],
"stylelintFilePatterns": ["**/*.scss"]
}
}
Run linting
ng lint
Name | Default | Description | Required | Linter |
---|---|---|---|---|
Basic configuration: | ||||
eslintFilePatterns | [] | Files/globs for ESLint | Yes | eslint |
eslintConfig | Path to ESLint config (supports both flat config eslint.config.js and legacy .eslintrc.* ) | No | eslint | |
stylelintFilePatterns | [] | Files/globs for Stylelint | Yes | stylelint |
stylelintConfig | Path to Stylelint config (stylelint.config.js or legacy .stylelintrc.* ) | No | stylelint | |
noEslintrc | false | Disable .eslintrc.* and package.json config | No | eslint |
fix | false | Auto-fix fixable issues | No | both |
Cache-related: | ||||
eslintCache | false | Enable ESLint cache | No | eslint |
stylelintCache | false | Enable Stylelint cache | No | stylelint |
eslintCacheLocation | .eslintcache | ESLint cache file/directory | No | eslint |
stylelintCacheLocation | .stylelintcache | Stylelint cache file/directory | No | stylelint |
eslintCacheStrategy | metadata | ESLint cache strategy (metadata or content ) | No | eslint |
File Enumeration: | ||||
eslintIgnorePatterns | [] | Glob patterns to ignore (ESLint 9+) | No | eslint |
stylelintIgnorePatterns | [] | Glob patterns to ignore (Stylelint 16+) | No | stylelint |
Output: | ||||
outputFile | Write report to file instead of console | No | both | |
format | stylish | Output formatter (see ESLint formatters) | No | both |
silent | false | Hide output text | No | both |
Handling warnings: | ||||
quiet | false | Only show errors (ignore warnings) | No | both |
maxWarnings | -1 | Max warnings before nonzero exit code | No | both |
force | false | Succeed even if there are lint errors | No | both |
"lint": {
"builder": "@krema/angular-eslint-stylelint-builder:lint",
"options": {
"eslintFilePatterns": ["src/**/*.ts"],
"stylelintFilePatterns": ["src/**/*.scss"],
"fix": true
}
}
MIT
3.0.1 (2025-07-26)
@krema/angular-eslint-stylelint-builder
and related configurations to utilize Stylelint's ECMAScript Modules (ESM) API.Plugin authors or users of stylelint.lint()
directly within their projects may need to adjust their imports or configurations to use ESM. Custom syntaxes and formatters are not affected.
The previous DeprecationWarning: The CommonJS Node.js API is deprecated
message on ng lint
will no longer appear.
See Stylelint migration guide: https://stylelint.io/migration-guide/to-16
chore(test): convert to vitest
ci(actions): disable fail fast
FAQs
Angular CLI builder for ESLint and stylelint
The npm package @krema/angular-eslint-stylelint-builder receives a total of 891 weekly downloads. As such, @krema/angular-eslint-stylelint-builder popularity was classified as not popular.
We found that @krema/angular-eslint-stylelint-builder demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.