From 0a815da1900a856ce7900d3f5857f48938c65508 Mon Sep 17 00:00:00 2001 From: Victor Diez Date: Mon, 9 Oct 2023 09:47:26 +0200 Subject: [PATCH 1/3] Change JS/TS ruling projects submodule URL --- .gitmodules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitmodules b/.gitmodules index 13254732613..479aa2882d7 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,4 +4,4 @@ url = https://github.com/SonarSource/css-test-sources.git [submodule "its/sources/jsts/projects"] path = its/sources/jsts/projects - url = https://github.com/SonarSource/typescript-test-sources.git + url = https://github.com/SonarSource/jsts-test-sources.git From 12056409500a3911bcdd381d899e362f26625e79 Mon Sep 17 00:00:00 2001 From: Victor Diez Date: Mon, 9 Oct 2023 09:52:37 +0200 Subject: [PATCH 2/3] remove old ruling sources paths from .prettierignore --- .prettierignore | 2 -- 1 file changed, 2 deletions(-) diff --git a/.prettierignore b/.prettierignore index 46fddc9cb8f..98ce0ecd532 100644 --- a/.prettierignore +++ b/.prettierignore @@ -7,9 +7,7 @@ packages/*/tests/**/fixtures packages/jsts/src/rules/*/*.fixture.* packages/jsts/src/rules/*/fixtures -its/css-sources its/sources -its/typescript-test-sources its/plugin/projects its/plugin/tests/target From df38332ea71f004ed00a782c5075384d246c0de9 Mon Sep 17 00:00:00 2001 From: Victor Diez Date: Mon, 9 Oct 2023 11:00:21 +0200 Subject: [PATCH 3/3] fix paths in profiling script --- profiling/profile-rule.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/profiling/profile-rule.ts b/profiling/profile-rule.ts index b3199e81387..0712b1b1df8 100644 --- a/profiling/profile-rule.ts +++ b/profiling/profile-rule.ts @@ -74,7 +74,6 @@ function extractScopeFromArgs() { 'es5-shim', 'file-for-rules', 'fireact/src', - 'javascript-test-sources/src', 'jira-clone', 'jquery/src', 'jshint/src', @@ -92,7 +91,7 @@ function extractScopeFromArgs() { ], }; JS_PROJECTS.js = JS_PROJECTS.js.map(filePath => - path.join(__dirname, '../../its/sources/', filePath), + path.join(__dirname, '../../its/sources/jsts/projects', filePath), ); const TS_PROJECTS = { ts: [ @@ -118,7 +117,7 @@ function extractScopeFromArgs() { ], }; TS_PROJECTS.ts = TS_PROJECTS.ts.map(filePath => - path.join(__dirname, '../../its/typescript-test-sources/src/', filePath), + path.join(__dirname, '../../its/sources/jsts/projects/', filePath), ); if (process.argv.length < 4) {