MOBILE-3833 lint: One dependency will cause one compat error

It's not an error itself but it's detected as it on core-js:

https://github.com/zloirock/core-js/blob/master/packages/core-js/internals/regexp-unsupported-ncg.js
main
Pau Ferrer Ocaña 2021-08-05 08:37:38 +02:00
parent d22b1a08e3
commit 5257117ea1
1 changed files with 1 additions and 1 deletions

View File

@ -58,4 +58,4 @@ jobs:
- name: Production builds
run: npm run build:prod
- name: JavaScript code compatibility
run: result=$(npx check-es-compat www/*.js 2> /dev/null | grep -v -E "Array\.prototype\.includes|Promise\.prototype\.finally|String\.prototype\.(matchAll|trimRight)|globalThis" | grep -Po "(?<=error).*?(?=\s+ecmascript)" | wc -l); test $result -eq 0
run: result=$(npx check-es-compat www/*.js 2> /dev/null | grep -v -E "Array\.prototype\.includes|Promise\.prototype\.finally|String\.prototype\.(matchAll|trimRight)|globalThis" | grep -Po "(?<=error).*?(?=\s+ecmascript)" | wc -l); test $result -eq 1