File tree Expand file tree Collapse file tree 4 files changed +21
-4
lines changed
Expand file tree Collapse file tree 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 )
22
33An ESLint plugin for linting ESLint plugins. Rules written in CJS, ESM, and TypeScript are all supported.
44
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 1010 "lint:docs" : " markdownlint '**/*.md'" ,
1111 "lint:js" : " eslint ." ,
1212 "generate-readme-table" : " node build/generate-readme-table.js" ,
13- "generate- release" : " release-it" ,
13+ "release" : " release-it" ,
1414 "test" : " nyc --all --check-coverage --include lib mocha tests --recursive"
1515 },
1616 "files" : [
4040 "statements" : 99
4141 },
4242 "devDependencies" : {
43+ "@commitlint/cli" : " ^13.2.1" ,
44+ "@commitlint/config-conventional" : " ^13.2.0" ,
45+ "@release-it/conventional-changelog" : " ^3.3.0" ,
4346 "@typescript-eslint/parser" : " ^5.0.0" ,
4447 "auto-changelog" : " ^2.3.0" ,
4548 "chai" : " ^4.1.0" ,
5255 "eslint-plugin-unicorn" : " ^37.0.0" ,
5356 "eslint-scope" : " ^6.0.0" ,
5457 "espree" : " ^9.0.0" ,
58+ "husky" : " ^7.0.2" ,
5559 "lodash" : " ^4.17.2" ,
5660 "markdownlint-cli" : " ^0.28.1" ,
5761 "mocha" : " ^9.1.2" ,
6771 "node" : " ^12.22.0 || ^14.17.0 || >=16.0.0"
6872 },
6973 "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+ }
7282 },
7383 "github" : {
7484 "release" : true
You can’t perform that action at this time.
0 commit comments