build: allow noUnusedLocals

This commit is contained in:
wewoor 2023-05-12 11:42:39 +08:00
parent 1b4ecc360a
commit 4becd4bc00
2 changed files with 3 additions and 5 deletions

View File

@ -62,10 +62,8 @@ jobs:
path: node_modules path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/yarn.lock') }} key: node_modules-${{ hashFiles('**/package-temp-dir/yarn.lock') }}
- name: Run Unit Test - name: Test FlinkSQL
run: | run: npx jest test/parser/flinksql
export NODE_OPTIONS="--max_old_space_size=4096"
yarn test
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@ -8,7 +8,7 @@
"module": "ESNext", "module": "ESNext",
"moduleResolution": "node", "moduleResolution": "node",
"declaration": true, "declaration": true,
"noUnusedLocals": true, "noUnusedLocals": false,
"noUnusedParameters": false, "noUnusedParameters": false,
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,
"esModuleInterop": true, "esModuleInterop": true,