From 10df847bafcd53221adf5cec81827633275a4583 Mon Sep 17 00:00:00 2001 From: Yulong Wang <7679871+fs-eire@users.noreply.github.com> Date: Tue, 7 Nov 2023 17:12:22 -0800 Subject: [PATCH] [js] fix linter out-of-memory issue (#18307) ### Description fix linter out-of-memory issue by ignoring file pattern 'test/data/'. --- js/.eslintrc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/.eslintrc.js b/js/.eslintrc.js index 130fb68a9c..56d2d45ee5 100644 --- a/js/.eslintrc.js +++ b/js/.eslintrc.js @@ -5,7 +5,7 @@ module.exports = { root: true, - ignorePatterns: ['**/*.js', 'ort-schema/', 'common/test/type-tests/', 'node_modules/', 'types/', 'dist/'], + ignorePatterns: ['**/*.js', 'ort-schema/', 'common/test/type-tests/', 'test/data/', 'node_modules/', 'dist/'], env: { 'es6': true }, parser: '@typescript-eslint/parser', parserOptions: { 'project': 'tsconfig.json', 'sourceType': 'module' },