repositories
/
benchmarks-js.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51c84d4
)
Refine lint-staged configuration
author
Jérôme Benoit
<jerome.benoit@sap.com>
Sun, 23 Oct 2022 08:17:31 +0000
(10:17 +0200)
committer
Jérôme Benoit
<jerome.benoit@sap.com>
Sun, 23 Oct 2022 08:17:31 +0000
(10:17 +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 b8747b0b6d1d496b82291460eb5feef8868d95e1..1ee58bf4501793ff42cb86009baa8e89b31721cc 100644
(file)
--- a/
.lintstagedrc.js
+++ b/
.lintstagedrc.js
@@
-1,4
+1,8
@@
module.exports = {
- '*.{js,jsx}': ['prettier --write', 'standard --fix', 'eslint --cache --fix'],
+ '*.{js,jsx,mjs,cjs}': [
+ 'prettier --write',
+ 'standard --fix',
+ 'eslint --cache --fix'
+ ],
'*.{json,md,yml,yaml}': ['prettier --write']
}