Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
@ministryofjustice/eslint-config-hmpps
Advanced tools
ESLint rules for HMPPS typescript projects
This package aims so simplify code style enforcement in HMPPS typescript projects using eslint
.
It should include all:
Usage is best demonstrated by the HMPPS typescript template as it already includes npm scripts and continuous integration tooling. New projects based on this template will automatically adopt this package.
The template project was migrated as part of pull request 470, so you can either manually adopt changes from it or cherry-pick the squashed commit.
Essentially, the move from eslint v8 to v9 requires changes to eslint configuration:
npm uninstall @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint eslint-config-airbnb-base eslint-config-prettier eslint-import-resolver-typescript eslint-plugin-cypress eslint-plugin-import eslint-plugin-no-only-tests eslint-plugin-prettier
npm install --save-dev @ministryofjustice/eslint-config-hmpps
.eslintignore
and .eslintrc.json
are not supported so can be deletedeslint.config.mjs
@ministryofjustice/eslint-config-hmpps
.eslintrc.json
compared with the template project,
include them after the shared defaultsnpm run lint
and address changes as necessary
eslint.config.mjs
to suit your project’s needsIt is deliberately not using typescript or rollup so that building is not required. This enabled the parent and sibling packages to use it directly for lint checks.
FAQs
ESLint rules for HMPPS typescript projects
The npm package @ministryofjustice/eslint-config-hmpps receives a total of 765 weekly downloads. As such, @ministryofjustice/eslint-config-hmpps popularity was classified as not popular.
We found that @ministryofjustice/eslint-config-hmpps 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.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.