Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

commitlint-config-travi

Package Overview
Dependencies
Maintainers
1
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

commitlint-config-travi - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

16

index.js

@@ -1,1 +0,15 @@

module.exports = {extends: ['@commitlint/config-angular']};
const config = require('@commitlint/config-angular');
module.exports = {
extends: ['@commitlint/config-angular'],
rules: {
'type-enum': [
2,
'always',
[
...config.rules['type-enum'][2],
'wip'
]
]
}
};

10

package.json
{
"name": "commitlint-config-travi",
"version": "1.0.0",
"version": "1.1.0",
"description": "shareable config for commitlint",

@@ -29,9 +29,9 @@ "license": "MIT",

"devDependencies": {
"@commitlint/prompt": "3.1.2",
"@travi/eslint-config-travi": "1.3.9",
"@commitlint/prompt": "3.2.0",
"@travi/eslint-config-travi": "1.5.6",
"globstar": "1.0.0",
"husky": "0.14.3",
"markdownlint-cli": "0.3.1",
"npm-run-all": "4.0.2",
"semantic-release": "7.0.1"
"npm-run-all": "4.1.1",
"semantic-release": "7.0.2"
},

@@ -38,0 +38,0 @@ "dependencies": {

@@ -1,2 +0,2 @@

# shareable config for commitlint
# shareable config for [commitlint](https://github.com/marionebl/commitlint)

@@ -10,1 +10,25 @@ [![license](https://img.shields.io/github/license/travi/commitlint-config-travi.svg)](LICENSE)

[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
## Usage
### Installation
```sh
$ npm install commitlint-config-travi -D
```
### Define the config for your project
```sh
$ echo "module.exports = {extends: ['travi']};" > commitlint.config.js
```
### Define the npm script for [husky](https://github.com/typicode/husky)
```json
{
"scripts": {
"commitmsg": "commitlint -e"
}
}
```
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc