Skip to content

Commit 2ee8951

Browse files
committed
Merge branch 'feature/eslint-pre-commit-hook' into develop
2 parents 20a5bf2 + 725e6e9 commit 2ee8951

File tree

11 files changed

+2508
-51
lines changed

11 files changed

+2508
-51
lines changed

config/git-hooks.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,11 @@
192192
'config' => env('PRETTIER_CONFIG', '.prettierrc.json'),
193193
'additional_params' => env('PRETTIER_ADDITIONAL_PARAMS', ''),
194194
],
195+
'eslint' => [
196+
'path' => env('ESLINT_PATH', 'node_modules/.bin/eslint'),
197+
'config' => env('ESLINT_CONFIG', '.eslintrc.js'),
198+
'additional_params' => env('ESLINT_ADDITIONAL_PARAMS', ''),
199+
],
195200
],
196201

197202
];

0 commit comments

Comments
 (0)