Socket
Socket
Sign inDemoInstall

@commitlint/is-ignored

Package Overview
Dependencies
10
Maintainers
4
Versions
75
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @commitlint/is-ignored

Lint your commit messages


Version published
Weekly downloads
2.4M
decreased by-16.61%
Maintainers
4
Install size
251 kB
Created
Weekly downloads
 

Package description

What is @commitlint/is-ignored?

The @commitlint/is-ignored npm package is designed to check if a given commit message should be ignored based on the rules defined in commitlint. This is particularly useful in automating the process of commit message validation, allowing developers to filter out commit messages that do not require validation according to the specified criteria.

What are @commitlint/is-ignored's main functionalities?

Check if a commit message is ignored

This feature allows you to check if a specific commit message should be ignored based on the commitlint configuration. It's useful for integrating with tools that automate commit message validation, enabling you to skip certain types of commits, such as those starting with 'chore:', 'docs:', or any other patterns you define in your commitlint configuration.

const isIgnored = require('@commitlint/is-ignored').default;

const commitMessage = 'chore: update dependencies';
const shouldIgnore = isIgnored(commitMessage);

console.log(shouldIgnore); // Output: true or false depending on the rules

Other packages similar to @commitlint/is-ignored

Changelog

Source

18.0.0 (2023-10-20)

  • chore!: minimum node version v18 (#3644) (5b4aeaf), closes #3644

BREAKING CHANGES

  • drop node v14 and v16 support

  • chore: remove unused types

  • docs: prepare node update and new release

  • chore!: minimum TS version v5

  • drop TS v4 support

  • ci: remove node v14/16 checks

  • chore: adjust node types to minimal supported version

  • chore!: further major versions of other deps

  • upgrade conventional-changelog-conventionalcommits, conventional-commits-parser, conventional-changelog-atom,

  • docs: simplify releases and remove roadmap

Keywords

FAQs

Last updated on 20 Oct 2023

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc