File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ vendor/bin/grumphp git:init
82
82
83
83
Add configuration files to git:
84
84
``` shell
85
- git add ruleset.xml phpmd.xml .eslintrc grumphp.yml
85
+ git add ruleset.xml phpmd.xml .eslintrc .stylelintrc grumphp.yml
86
86
```
87
87
88
88
#### 2. Add following to project`s 'Makefile':
@@ -100,7 +100,11 @@ precommit: # analyses code staged for commit
100
100
```
101
101
102
102
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.
104
108
105
109
# ### 3. Commit to project`s repo.
106
110
Commit updated composer files, vendor folder, code-quality config files from the root and 'makefile' changes
You can’t perform that action at this time.
0 commit comments