File tree Expand file tree Collapse file tree 3 files changed +973
-1099
lines changed Expand file tree Collapse file tree 3 files changed +973
-1099
lines changed Original file line number Diff line number Diff line change 1- const lernaScopes = require ( '@commitlint/config-pnpm-scopes' )
1+ import scopes from '@commitlint/config-pnpm-scopes'
22
3- module . exports = {
4- extends : [
5- '@commitlint/config-conventional' ,
6- '@commitlint/config-pnpm-scopes'
7- ] ,
3+ export default {
4+ extends : [ '@commitlint/config-conventional' , '@commitlint/config-pnpm-scopes' ] ,
85 rules : {
96 'body-max-line-length' : [ 0 ] ,
7+ 'header-max-length' : [ 0 ] ,
108 'scope-enum' : async ( ctx ) => {
11- const scopeEnum = await lernaScopes . rules [ 'scope-enum' ] ( ctx )
9+ const scopeEnum = await scopes . rules [ 'scope-enum' ] ( ctx )
1210
1311 return [
1412 scopeEnum [ 0 ] ,
1513 scopeEnum [ 1 ] ,
1614 [
1715 ...scopeEnum [ 2 ] ,
1816 'deps' ,
19- 'dev-deps'
17+ 'dev-deps' ,
18+ 'release'
2019 ]
2120 ]
2221 }
Original file line number Diff line number Diff line change 2929 "updateGitHooks" : " simple-git-hooks"
3030 },
3131 "devDependencies" : {
32- "@commitlint/cli" : " ^18.0.0 " ,
33- "@commitlint/config-conventional" : " ^18.0.0 " ,
34- "@commitlint/config-pnpm-scopes" : " ^18.0.0 " ,
35- "@commitlint/cz-commitlint" : " ^18.0.0 " ,
32+ "@commitlint/cli" : " ^19.8.1 " ,
33+ "@commitlint/config-conventional" : " ^19.8.1 " ,
34+ "@commitlint/config-pnpm-scopes" : " ^19.8.1 " ,
35+ "@commitlint/cz-commitlint" : " ^19.8.1 " ,
3636 "@nanoviews/storybook-vite" : " workspace:^" ,
3737 "@trigen/eslint-config" : " 8.0.0-alpha.33" ,
3838 "@trigen/scripts" : " 8.0.0-alpha.33" ,
You can’t perform that action at this time.
0 commit comments