Skip to content

Commit

Permalink
Change JS/TS ruling projects submodule URL (#4252)
Browse files Browse the repository at this point in the history
  • Loading branch information
victor-diez-sonarsource authored Oct 9, 2023
1 parent ac9af26 commit 7cd8026
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 2 additions & 3 deletions profiling/profile-rule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ function extractScopeFromArgs() {
'es5-shim',
'file-for-rules',
'fireact/src',
'javascript-test-sources/src',
'jira-clone',
'jquery/src',
'jshint/src',
Expand All @@ -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: [
Expand All @@ -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) {
Expand Down

0 comments on commit 7cd8026

Please sign in to comment.