SAP Spartacus central Travis build的lint环节
起始命令:
Running styleslint
260yarn run v1.22.5
261$ stylelint “{projects,feature-libs}/**/*.scss”
262Done in 1.02s.
263Validating code linting
264Linting “storefrontapp”…
Lint warnings found in the listed files.
680Linting “storefrontlib”…
681/home/travis/build/SAP/spartacus/projects/core/src/auth/user-auth/user-auth.module.ts:23:16
682WARNING: 23:16 deprecation getStableConfig is deprecated: since 3.0, use getStable() instead
683
684/home/travis/build/SAP/spartacus/projects/core/src/cart/cart-persistence.module.ts:12:16
685WARNING: 12:16 deprecation getStableConfig is deprecated: since 3.0, use getStable() instead
686
687/home/travis/build/SAP/spartacus/projects/core/src/cart/cart.module.ts:22:24
688WARNING: 22:24 deprecation CartPageMetaResolver is deprecated: since 3.1, in future versions we’ll drop this service as the logic
689is no longer specific since we introduce backend driven robots.
690
691/home/travis/build/SAP/spartacus/projects/core/src/cart/facade/cart-voucher.service.ts:57:37
692WARNING: 57:37 deprecation ADD_VOUCHER_PROCESS_ID is deprecated: since 2.0
693WARNING: 68:39 deprecation ADD_VOUCHER_PROCESS_ID is deprecated: since 2.0
694WARNING: 79:39 deprecation ADD_VOUCHER_PROCESS_ID is deprecated: since 2.0
695WARNING: 89:41 deprecation CartResetAddVoucher is deprecated: since 2.0
不同的文件夾分別進行lint:
lint執行完畢之后,執行單元測試 unit test 代碼:
更多Jerry的原創文章,盡在:“汪子熙”:
總結
以上是生活随笔為你收集整理的SAP Spartacus central Travis build的lint环节的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 逆战电磁加农炮怎么用
- 下一篇: 内机空调滴水怎么解决