Skip to content

Commit 5b9b8a4

Browse files
committed
update readme
1 parent ab2fb61 commit 5b9b8a4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ vendor/bin/grumphp git:init
8282

8383
Add configuration files to git:
8484
```shell
85-
git add ruleset.xml phpmd.xml .eslintrc grumphp.yml
85+
git add ruleset.xml phpmd.xml .eslintrc .stylelintrc grumphp.yml
8686
```
8787

8888
#### 2. Add following to project`s 'Makefile':
@@ -100,7 +100,11 @@ precommit: # analyses code staged for commit
100100
```
101101

102102
Replace the sample `a000z999` commit hash with the hash from the project where you want to start linting from.
103-
Files modified after the starting commit hash will be linted during project build and will fail the build on linter violations.
103+
Files modified after the starting commit hash will be linted during project build and will fail the build on linter violations.
104+
105+
**Note:**
106+
If using warden, commit still fails with `SplFileInfo::openFile(/var/www/html/.git/COMMIT_EDITMSG): failed to open st
107+
ream: No such file or directory` error: rename or revert to original git 'commit-msg' hook.
104108

105109
#### 3. Commit to project`s repo.
106110
Commit updated composer files, vendor folder, code-quality config files from the root and 'makefile' changes

0 commit comments

Comments
 (0)