瀏覽代碼

chore: Exclude dev-server dir from lint-staged

We don't want to fail the commit/publish when e.g. we have
a console.log call in a dev server test plugin
Michael Bromley 1 年之前
父節點
當前提交
be66ac50e9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .lintstagedrc.json

+ 1 - 1
.lintstagedrc.json

@@ -8,7 +8,7 @@
     "npm run format",
     "npm run format",
     "git add"
     "git add"
   ],
   ],
-  "packages/**/*.ts": [
+  "packages/!(dev-server)/**/*.ts": [
     "npm run lint",
     "npm run lint",
     "npm run format",
     "npm run format",
     "git add"
     "git add"