Add es-check to verify builds produce valid es5 code

This commit is contained in:
Bill Thornton
2022-10-11 02:36:35 -04:00
parent 58d506c75d
commit 8874e4dad9
4 changed files with 534 additions and 12 deletions

10
.escheckrc Normal file
View File

@@ -0,0 +1,10 @@
{
"ecmaVersion": "es5",
"modules": "false",
"files": "./dist/**/*.js",
"not": [
"./dist/libraries/pdf.worker.js",
"./dist/libraries/worker-bundle.js",
"./dist/libraries/wasm-gen/libarchive.js"
]
}