Browse Source

feat(tool): Add commitlint for conventional commits

pull/468/head
jld3103 1 year ago
parent
commit
ba90b60f94
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
  1. 24
      commitlint.yaml
  2. 1
      pubspec.yaml

24
commitlint.yaml

@ -0,0 +1,24 @@
include: package:commitlint_cli/commitlint.yaml
rules:
scope-empty:
- 2
- never
scope-enum:
- 2
- always
- - ci
- deps
- docs
- tool
- app
- dynamite
- dynamite_runtime
- file_icons
- neon
- neon_files
- neon_news
- neon_notes
- neon_notifications
- nextcloud
- sort_box

1
pubspec.yaml

@ -4,5 +4,6 @@ publish_to: none
environment: environment:
sdk: '>=3.0.0 <4.0.0' sdk: '>=3.0.0 <4.0.0'
dev_dependencies: dev_dependencies:
commitlint_cli: ^0.4.1
fvm: ^2.4.1 fvm: ^2.4.1
melos: ^3.1.0 melos: ^3.1.0

Loading…
Cancel
Save