build(deps-dev): apply udpates
[e-mobility-charging-stations-simulator.git] / ui / web / .lintstagedrc.js
index a5db9f5bd4d3f2de8a26fb4ec68aec15b4180df4..927dd55cf2ac5c34bfed920a71aac57691e09442 100644 (file)
@@ -1,3 +1,5 @@
-module.exports = {
-  '*.{js,jsx,vue,ts,tsx}': 'vue-cli-service lint --fix',
+export default {
+  '*.{.css,json,md,yml,yaml,html,js,jsx,cjs,mjs,ts,tsx,cts,mts}': 'prettier --cache --write',
+  '*.{vue,js,jsx,cjs,mjs,ts,tsx,cts,mts}':
+    'eslint . --cache --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore',
 };