{"build":"nest build","format":"prettier --write\"src/**/*.ts\"\"test/**/*.ts\"","start":"nest start","start:dev":"nest start --watch","start:debug":"nest start --debug --watch","start:prod":"node dist/main","lint":"eslint\"{src,apps,libs,test}/**/*.ts\"--...
Relying on Eslint won't get that done. It will work if your CI runs tests & lint before building which is the pretty usual pattern. Nonetheless, an unused variable is not a reason why build should fail. With tree shaking in place, it will be removed anyway from the resulting bundle. ...
今天一位客户说网站错误页面返回的状态码是302而不是404,问ytkah要如何处理。这个应该是设置没有正确的原因。我们一步步来排查一下。1、首先打开iis管理器,左侧选择具体的站点,在右侧窗口中点击404错误页,如下图所示