Refine lint staged configuration
authorJérôme Benoit <jerome.benoit@sap.com>
Sat, 15 Oct 2022 13:32:24 +0000 (15:32 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sat, 15 Oct 2022 13:32:24 +0000 (15:32 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.lintstagedrc.js

index 5335989f9d3a4772469d574cfde950fa3224d1c0..fdad04d8cc847c9274a6b4566315c07f78228623 100644 (file)
@@ -4,5 +4,5 @@ module.exports = {
     'prettierx --write',
     'eslint --cache --fix'
   ],
-  '**/*.{json,md,yml}': ['prettier --write', 'prettierx --write']
+  '**/*.{json,md,yml,yaml}': ['prettier --write', 'prettierx --write']
 }