File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ . " $( dirname " $0 " ) /_/husky.sh"
3+
4+ cd client
5+ npx --no -- commitlint --edit " ${1} "
Original file line number Diff line number Diff line change 1+ module . exports = {
2+ extends : [ '@commitlint/config-conventional' ] ,
3+ rules : {
4+ 'scope-enum' : [
5+ 2 ,
6+ 'always' ,
7+ [
8+ 'core' ,
9+ 'linting' ,
10+ 'backend' ,
11+ 'frontend' ,
12+ 'authentication' ,
13+ 'styles' ,
14+ 'documentation' ,
15+ 'misc' ,
16+ ] ,
17+ ] ,
18+ } ,
19+ } ;
Original file line number Diff line number Diff line change 33 "version" : " 1.0.0" ,
44 "private" : true ,
55 "scripts" : {
6+ "prepare" : " cd .. && husky install .husky" ,
67 "dev" : " nuxt" ,
78 "build" : " nuxt build" ,
89 "start" : " nuxt start" ,
2324 "webpack" : " 5.73.0"
2425 },
2526 "devDependencies" : {
27+ "@commitlint/cli" : " ^17.0.2" ,
28+ "@commitlint/config-conventional" : " ^17.0.2" ,
2629 "@nuxtjs/tailwindcss" : " 5.1.2" ,
2730 "@vue/test-utils" : " 1.3.0" ,
2831 "babel-core" : " 7.0.0-bridge.0" ,
3538 "eslint-plugin-n" : " ^15.0.0" ,
3639 "eslint-plugin-promise" : " ^6.0.0" ,
3740 "eslint-plugin-vue" : " ^9.1.1" ,
41+ "husky" : " ^8.0.1" ,
3842 "jest" : " ^28.1.1" ,
3943 "jest-environment-jsdom" : " ^28.1.1" ,
4044 "postcss" : " 8.4.14" ,
You can’t perform that action at this time.
0 commit comments