repositories
/
poolifier.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a7bb4c
)
Refine lint-staged configuration
author
Jérôme Benoit
<jerome.benoit@sap.com>
Tue, 11 Oct 2022 11:09:51 +0000
(13:09 +0200)
committer
Jérôme Benoit
<jerome.benoit@sap.com>
Tue, 11 Oct 2022 11:09:51 +0000
(13:09 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.lintstagedrc.js
patch
|
blob
|
blame
|
history
diff --git
a/.lintstagedrc.js
b/.lintstagedrc.js
index 8fb4221286ce4b7bfeae1c30ce8eccb01b57c935..5335989f9d3a4772469d574cfde950fa3224d1c0 100644
(file)
--- a/
.lintstagedrc.js
+++ b/
.lintstagedrc.js
@@
-1,4
+1,8
@@
module.exports = {
- '**/*.{js,mjs,ts}': ['eslint --cache --fix'],
+ '**/*.{js,mjs,ts}': [
+ 'prettier --write',
+ 'prettierx --write',
+ 'eslint --cache --fix'
+ ],
'**/*.{json,md,yml}': ['prettier --write', 'prettierx --write']
}