Ver Fonte

[monorepo] don't fight with prettier, do not run on json files (#29135)

I've tried a lots of variants for the ignore rule. It does not work.

GitOrigin-RevId: 08bf3df1d2629dcfc6eccc98df098ce094466d5b
Jakob Ackermann há 10 meses atrás
pai
commit
a4e29d5380
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      server-ce/test/package.json

+ 2 - 2
server-ce/test/package.json

@@ -6,8 +6,8 @@
   "scripts": {
     "cypress:open": "cypress open --e2e --browser chrome",
     "cypress:run": "cypress run --e2e --browser chrome",
-    "format": "prettier --list-different $PWD/'**/*.{js,mjs,ts,tsx,json}'",
-    "format:fix": "prettier --write $PWD/'**/*.{js,mjs,ts,tsx,json}'"
+    "format": "prettier --list-different $PWD/'**/*.{js,mjs,ts,tsx}'",
+    "format:fix": "prettier --write $PWD/'**/*.{js,mjs,ts,tsx}'"
   },
   "devDependencies": {
     "@isomorphic-git/lightning-fs": "^4.6.0",