build(ui): refine lint-staged configuration
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 24 Apr 2023 23:14:48 +0000 (01:14 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 24 Apr 2023 23:14:48 +0000 (01:14 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
ui/web/.lintstagedrc.js

index 022afa74172c4f9ef1257b700131651abdd2f448..5b460e07e6550185ee9a80b60a1b8e3f86c1ecf0 100644 (file)
@@ -1,5 +1,5 @@
 module.exports = {
-  '*.{json,md,yml,yaml}': 'prettier --cache --write',
+  '*.{json,md,yml,yaml,html,js,jsx,cjs,mjs}': 'prettier --cache --write',
   '*.{js,jsx,vue,cjs,mjs,ts,tsx,cts,mts}':
     'eslint . --cache --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore',
 };