@commitlint/config-angular-type-enum
Shareable commitlint config enforcing the angular commit convention types
Last updated 3 months ago .
· 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

  • 17.0.0                                ...           latest (3 months ago)

45 Versions

  • 15.0.0                                ...           9 months ago
  • 8.3.6                                ...           9 months ago
  • 14.0.0                                ...           10 months ago
  • 13.2.0                                ...           a year ago
  • 13.0.0                                ...           a year ago
  • 12.1.4                                ...           a year ago
  • 12.1.3                                ...           a year ago
  • 12.1.1                                ...           a year ago
  • 12.0.1                                ...           a year ago
  • 12.0.0                                ...           2 years ago
  • 11.0.0                                ...           2 years ago
  • 10.0.0                                ...           2 years ago
  • 9.1.2                                ...           2 years ago
  • 9.1.1                                ...           2 years ago
  • 9.1.0                                ...           2 years ago
  • 9.0.1                                ...           2 years ago
  • 9.0.0                                ...           2 years ago
  • 8.3.4                                ...           3 years ago
  • 8.3.0                                ...           3 years ago
  • 8.2.0                                ...           3 years ago
  • 8.1.0                                ...           3 years ago
  • 8.0.0                                ...           3 years ago
  • 7.6.0                                ...           3 years ago
  • 7.5.0                                ...           4 years ago
  • 7.3.1                                ...           4 years ago
  • 7.3.0                                ...           4 years ago
  • 7.1.2                                ...           4 years ago
  • 7.1.1                                ...           4 years ago
  • 7.0.0                                ...           4 years ago
  • 6.1.3                                ...           4 years ago
  • 6.1.2                                ...           4 years ago
  • 6.1.1                                ...           4 years ago
  • 6.1.0                                ...           5 years ago
  • 6.0.4                                ...           5 years ago
  • 6.0.3                                ...           5 years ago
  • 6.0.2                                ...           5 years ago
  • 5.1.1                                ...           5 years ago
  • 5.1.0                                ...           5 years ago
  • 5.0.2                                ...           5 years ago
  • 5.0.1                                ...           5 years ago
  • 5.0.0                                ...           5 years ago
  • 16.0.0                                ...           8 months ago
  • 16.2.1                                ...           6 months ago
  • 16.3.0                                ...           3 months ago
  • 17.0.0                                ...           3 months ago
Dependencies (0)
None
Dev Dependencies (1)

Copyright © npmmirror.com | 浙ICP备15033595号-63 |