From 7cd8026a9a546af2464d7958ab929b92fe002503 Mon Sep 17 00:00:00 2001 From: Victor <106590915+victor-diez-sonarsource@users.noreply.github.com> Date: Mon, 9 Oct 2023 11:39:02 +0200 Subject: [PATCH] Change JS/TS ruling projects submodule URL (#4252) --- .gitmodules | 2 +- .prettierignore | 2 -- profiling/profile-rule.ts | 5 ++--- 3 files changed, 3 insertions(+), 6 deletions(-) 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 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 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) {