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

index af444c57fb5f95c3400fdc580a9e3c315bebd1c6..022afa74172c4f9ef1257b700131651abdd2f448 100644 (file)
@@ -1,5 +1,5 @@
 module.exports = {
+  '*.{json,md,yml,yaml}': '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',
-  '*.{json,md,yml,yaml}': 'prettier --cache --write',
 };