From 0740b857c6b7004c29dd8ff119a248fecc2040fd Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Sat, 2 Apr 2022 19:13:54 +0800 Subject: [PATCH 1/2] build(deps): disables the rule `body-max-line-length` --- .commitlintrc.json | 5 +++++ .gitignore | 1 + 2 files changed, 6 insertions(+) create mode 100644 .commitlintrc.json diff --git a/.commitlintrc.json b/.commitlintrc.json new file mode 100644 index 0000000..9f49e06 --- /dev/null +++ b/.commitlintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "body-max-line-length": [0, "always"] + } +} diff --git a/.gitignore b/.gitignore index ca4c7b4..a0d71a8 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ !.nojekyll !.travis.yml !.husky +!.commitlintrc.json # bundler cache _site From 6ca66366d5406c06044cc33c38906366fe2f5d9f Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Sat, 2 Apr 2022 19:16:01 +0800 Subject: [PATCH 2/2] build(git-ignore): add missing item When using the theme starter, which uses a git submodule, assets loaded from that submodule are "untracked" files in the pages branch working tree. The build can fail at this line due to Git, saying "the following untracked working tree files would be overwritten by checkout". Adding `-f` forces the checkout, overwriting all files. The other deploy steps then take over and rewrite the files as needed. --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index a0d71a8..d1210a4 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ !.travis.yml !.husky !.commitlintrc.json +!.versionrc.json # bundler cache _site