X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.lintstagedrc.json;h=45cd847789d8d19b4adda2f3bd9f95fa369cb4ad;hb=03e47c24df5ee4125bbc6e43dffe15779cea9127;hp=818d835a563868609b61bdb00a5dca728b08ff7d;hpb=b7a11e0f48e66b7514414f35471a9d64d8196b78;p=e-mobility-charging-stations-simulator.git diff --git a/.lintstagedrc.json b/.lintstagedrc.json index 818d835a..45cd8477 100644 --- a/.lintstagedrc.json +++ b/.lintstagedrc.json @@ -1,5 +1,5 @@ { - "{src,test}/**/*.ts": ["prettier --write", "eslint --cache --fix"], - "**/*.{json,md,yml}": ["prettier --write"], - "**/*.{js,mjs}": ["prettier --write", "eslint --cache --fix"] + "{src,tests}/**/*.{ts,tsx,cts,mts}": ["prettier --cache --write", "eslint --cache --fix"], + "**/*.{json,md,yml,yaml}": ["prettier --cache --write"], + "**/*.{js,jsx,cjs,mjs}": ["prettier --cache --write", "eslint --cache --fix"] }