Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change JS/TS ruling projects submodule URL #4252

Merged
merged 3 commits into from
Oct 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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