
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
@dwp/commitlint-config-base
Advanced tools
Shareable commitlint
config enforcing our commit convention.
Originally based upon the Conventional Commit Message Guidelines
and derived from @commitlint/config-conventional.
In addition to the above guidelines, it will prevent committing of messages which could skip CI pipelines.
Use with @commitlint/cli and @commitlint/prompt-cli.
npm install --save-dev @dwp/commitlint-config-base @commitlint/cli
Add a commitlint.config.js
file that looks something like:
module.exports = require( '@dwp/commitlint-config-base' );
You can add your own rules to enhance this, but in doing so please ensure you don't weaken the baseline ruleset.
## Linting
Add commitlint
to your test suite like this, or see our package.json for an example of how we do it:
"test": "commitlint --from=develop --to=HEAD"
FAQs
base configuration for commitlint
The npm package @dwp/commitlint-config-base receives a total of 1,644 weekly downloads. As such, @dwp/commitlint-config-base popularity was classified as popular.
We found that @dwp/commitlint-config-base demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.