File tree Expand file tree Collapse file tree 4 files changed +6
-8
lines changed
Expand file tree Collapse file tree 4 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 11{
22 "hooks": {
3- "pre-commit": "pretty-quick --staged --pattern \"**/*.*(json|js|ts|yml|md)\" ",
3+ "pre-commit": "yarn format:stage ",
44 }
55}
Original file line number Diff line number Diff line change 1- const config = require ( '@boringcodes/prettier-config' ) ;
2-
3- module . exports = config ;
1+ module . exports = require ( '@boringcodes/prettier-config' ) ;
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ All notable changes to this project will be documented in this file. See [standa
44
55## 1.0.0 (2020-03-26)
66
7-
87### Features
98
10- * init source ([ 1589ef7] ( https://github.com/boringcodes/create-dotgithub/commit/1589ef717093ffb0e50b022aa55ac8d89334a771 ) )
9+ - init source ([ 1589ef7] ( https://github.com/boringcodes/create-dotgithub/commit/1589ef717093ffb0e50b022aa55ac8d89334a771 ) )
Original file line number Diff line number Diff line change 1313 ],
1414 "scripts" : {
1515 "purge" : " rm -rf node_modules" ,
16- "format" : " prettier --write \" **/*.*(json|js|ts|yml|md)\" " ,
17- "format:check" : " prettier --check \" **/*.*(json|js|ts|yml|md)\" " ,
16+ "format" : " prettier --write ." ,
17+ "format:check" : " prettier --check ." ,
18+ "format:stage" : " pretty-quick --staged" ,
1819 "release" : " standard-version --no-verify" ,
1920 "release:major" : " yarn release --release-as major" ,
2021 "release:minor" : " yarn release --release-as minor" ,
You can’t perform that action at this time.
0 commit comments