diff --git a/js/.eslintrc.js b/js/.eslintrc.js index 947dd647fdc0d..329e170fbf1b8 100644 --- a/js/.eslintrc.js +++ b/js/.eslintrc.js @@ -112,10 +112,6 @@ module.exports = { 'use-isnan': 'error' }, overrides: [{ - files: ['web/lib/**/*.ts'], - excludedFiles: 'web/lib/wasm/proxy-worker/**/*', - parserOptions: { 'project': 'web/tsconfig.json' }, - },{ files: ['node/**/*.ts'], env: { 'es6': true, 'node': true } }, { @@ -148,7 +144,9 @@ module.exports = { 'no-unused-expressions': 'off', } }, { - files: ['web/lib/**/*.ts'], rules: { + files: ['web/lib/**/*.ts'], + excludedFiles: 'web/lib/wasm/proxy-worker/**/*', + parserOptions: { 'project': 'web/tsconfig.json' },rules: { 'no-underscore-dangle': 'off', } }, { diff --git a/js/web/script/tsconfig.json b/js/web/script/tsconfig.json index 23b1fc96eb558..d7dc4cbe2d291 100644 --- a/js/web/script/tsconfig.json +++ b/js/web/script/tsconfig.json @@ -1,6 +1,7 @@ { "extends": "../../tsconfig.tools.json", "compilerOptions": { - "sourceMap": true + "sourceMap": true, + "noUnusedParameters": false } }