@commitlint/config-angular-type-enum
Shareable commitlint config enforcing the angular commit convention types
Last updated 8 years ago by marionebl .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @commitlint/config-angular-type-enum 
SYNC missed versions from official npm registry.

@commitlint/config-angular-type-enum

Shareable commitlint config enforcing the angular commit convention types. Use with @commitlint/cli and @commitlint/prompt-cli.

See @commitlint/config-angular for full angular conventions.

Getting started

npm install --save-dev @commitlint/config-angular-type-enum @commitlint/cli
echo "module.exports = {extends: ['@commitlint/config-angular-type-enum']};" > commitlint.config.js

Usage

echo "foo: bar" | commitlint # fails
echo "build: bar" | commitlint # passes

Examples

// commitlint.config.js
const types = require('@commitlint/config-angular-type-enum');

// Use as rule creating errors for non-allowed types
module.exports = {
  rules: {
    ...types.rules,
  },
};

// Warn for non-allowed types
module.exports = {
  rules: {
    'type-enum': [1, 'always', types.values()],
  },
};

Current Tags

  • 19.1.0                                ...           latest (2 years ago)

55 Versions

  • 19.1.0                                ...           2 years ago
  • 19.0.0                                ...           2 years ago
  • 18.6.1                                ...           2 years ago
  • 18.4.4                                ...           2 years ago
  • 18.4.3                                ...           2 years ago
  • 18.4.0                                ...           2 years ago
  • 18.1.0                                ...           2 years ago
  • 18.0.0                                ...           2 years ago
  • 17.8.1                                ...           2 years ago
  • 17.4.0                                ...           3 years ago
  • 17.0.0                                ...           4 years ago
  • 16.3.0                                ...           4 years ago
  • 16.2.1                                ...           4 years ago
  • 16.0.0                                ...           4 years ago
  • 15.0.0                                ...           4 years ago
  • 8.3.6                                ...           4 years ago
  • 14.0.0                                ...           4 years ago
  • 13.2.0                                ...           5 years ago
  • 13.0.0                                ...           5 years ago
  • 12.1.4                                ...           5 years ago
  • 12.1.3                                ...           5 years ago
  • 12.1.1                                ...           5 years ago
  • 12.0.1                                ...           5 years ago
  • 12.0.0                                ...           5 years ago
  • 11.0.0                                ...           6 years ago
  • 10.0.0                                ...           6 years ago
  • 9.1.2                                ...           6 years ago
  • 9.1.1                                ...           6 years ago
  • 9.1.0                                ...           6 years ago
  • 9.0.1                                ...           6 years ago
  • 9.0.0                                ...           6 years ago
  • 8.3.4                                ...           6 years ago
  • 8.3.0                                ...           6 years ago
  • 8.2.0                                ...           7 years ago
  • 8.1.0                                ...           7 years ago
  • 8.0.0                                ...           7 years ago
  • 7.6.0                                ...           7 years ago
  • 7.5.0                                ...           7 years ago
  • 7.3.1                                ...           7 years ago
  • 7.3.0                                ...           7 years ago
  • 7.1.2                                ...           8 years ago
  • 7.1.1                                ...           8 years ago
  • 7.0.0                                ...           8 years ago
  • 6.1.3                                ...           8 years ago
  • 6.1.2                                ...           8 years ago
  • 6.1.1                                ...           8 years ago
  • 6.1.0                                ...           8 years ago
  • 6.0.4                                ...           8 years ago
  • 6.0.3                                ...           8 years ago
  • 6.0.2                                ...           8 years ago
  • 5.1.1                                ...           8 years ago
  • 5.1.0                                ...           8 years ago
  • 5.0.2                                ...           8 years ago
  • 5.0.1                                ...           8 years ago
  • 5.0.0                                ...           8 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (1)

Copyright 2013 - present © cnpmjs.org | Home |