File tree 4 files changed +21
-4
lines changed
4 files changed +21
-4
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ . " $( dirname " $0 " ) /_/husky.sh"
3
+
4
+ npx --no-install commitlint --edit " "
Original file line number Diff line number Diff line change 1
- # eslint-plugin-eslint-plugin ![ CI] ( https://github.com/not-an-aardvark/eslint-plugin-eslint-plugin/workflows/CI/badge.svg ) [ ![ NPM version] ( https://img.shields.io/npm/v/eslint-plugin-eslint-plugin.svg?style=flat )] ( https://npmjs.org/package/eslint-plugin-eslint-plugin )
1
+ # eslint-plugin-eslint-plugin ![ CI] ( https://github.com/not-an-aardvark/eslint-plugin-eslint-plugin/workflows/CI/badge.svg ) [ ![ NPM version] ( https://img.shields.io/npm/v/eslint-plugin-eslint-plugin.svg?style=flat )] ( https://npmjs.org/package/eslint-plugin-eslint-plugin ) [ ![ Conventional Commits ] ( https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg )] ( https://conventionalcommits.org )
2
2
3
3
An ESLint plugin for linting ESLint plugins. Rules written in CJS, ESM, and TypeScript are all supported.
4
4
Original file line number Diff line number Diff line change
1
+ 'use strict' ;
2
+
3
+ module . exports = { extends : [ '@commitlint/config-conventional' ] } ;
Original file line number Diff line number Diff line change 10
10
"lint:docs" : " markdownlint '**/*.md'" ,
11
11
"lint:js" : " eslint ." ,
12
12
"generate-readme-table" : " node build/generate-readme-table.js" ,
13
- "generate- release" : " release-it" ,
13
+ "release" : " release-it" ,
14
14
"test" : " nyc --all --check-coverage --include lib mocha tests --recursive"
15
15
},
16
16
"files" : [
40
40
"statements" : 99
41
41
},
42
42
"devDependencies" : {
43
+ "@commitlint/cli" : " ^13.2.1" ,
44
+ "@commitlint/config-conventional" : " ^13.2.0" ,
45
+ "@release-it/conventional-changelog" : " ^3.3.0" ,
43
46
"@typescript-eslint/parser" : " ^5.0.0" ,
44
47
"auto-changelog" : " ^2.3.0" ,
45
48
"chai" : " ^4.1.0" ,
52
55
"eslint-plugin-unicorn" : " ^37.0.0" ,
53
56
"eslint-scope" : " ^6.0.0" ,
54
57
"espree" : " ^9.0.0" ,
58
+ "husky" : " ^7.0.2" ,
55
59
"lodash" : " ^4.17.2" ,
56
60
"markdownlint-cli" : " ^0.28.1" ,
57
61
"mocha" : " ^9.1.2" ,
67
71
"node" : " ^12.22.0 || ^14.17.0 || >=16.0.0"
68
72
},
69
73
"release-it" : {
70
- "hooks" : {
71
- "after:bump" : " auto-changelog -p"
74
+ "git" : {
75
+ "commitMessage" : " chore: release v${version}"
76
+ },
77
+ "plugins" : {
78
+ "@release-it/conventional-changelog" : {
79
+ "preset" : " conventionalcommits" ,
80
+ "infile" : " CHANGELOG.md"
81
+ }
72
82
},
73
83
"github" : {
74
84
"release" : true
You can’t perform that action at this time.
0 commit comments